3556 lines
192 KiB
PHP
3556 lines
192 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>CPONE</title>
|
|
<link rel="stylesheet" href="../../../libs/vendor/css/google-fonts.css">
|
|
<link rel="stylesheet" href="../../../libs/vendor/css/icomoon-fonts.css">
|
|
<link rel="stylesheet" href="../../../libs/vendor/css/vuetify.min.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div v-cloak id="app">
|
|
<v-app id="smartApp">
|
|
<one-navbar></one-navbar>
|
|
<template>
|
|
<v-layout row justify-center>
|
|
<v-dialog v-model="dialog_detail" scrollable width="85%">
|
|
<v-card>
|
|
<v-card-title>Detail {{selected_riwayat.title}}</v-card-title>
|
|
<v-divider></v-divider>
|
|
<v-card-text style="height: 300px;">
|
|
<v-layout v-for="(item,tab) in r_templates" :key="tab" row>
|
|
<v-flex v-if="item.title === selected_riwayat.title" xs12>
|
|
<v-layout v-for="(detail,d_idx) in selected_riwayat.details" :key="d_idx" v-if="selected_riwayat.type_form === 'XVS'" row>
|
|
<v-flex xs12>
|
|
<p class="mt-2 mb-2 body-2">{{detail.name}}</p>
|
|
<v-btn block depressed outline label small class="mr-1 mb-2" v-for="(child_detail,child_detail_idx) in detail.details" :key="child_detail_idx"
|
|
v-if="item.childs.includes(child_detail.id_code) && !child_detail.chx">
|
|
{{child_detail.label}}
|
|
</v-btn>
|
|
|
|
<v-btn block depressed label small color="success" dark class="mr-1 mb-2" v-for="(child_detail,child_detail_idx) in detail.details" :key="child_detail_idx"
|
|
v-if="item.childs.includes(child_detail.id_code) && child_detail.chx">
|
|
{{child_detail.label}}
|
|
</v-btn>
|
|
<v-divider class="mt-2 mb-2"></v-divider>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
<v-layout v-for="(detail,d_idx) in selected_riwayat.details" v-if="selected_riwayat.type_form === 'XV'" :key="d_idx" wrap >
|
|
<v-flex xs12>
|
|
<v-btn block v-if="detail.chx" color="green" text-color="white" small class="mr-1 mb-1" >
|
|
{{detail.label}}
|
|
</v-btn>
|
|
<v-btn block v-if="!detail.chx" outline small class="mr-1 mb-1" >
|
|
{{detail.label}}
|
|
</v-btn>
|
|
<p class="pl-1 text-caption caption" v-if="detail.value && detail.value != ''">Keterangan : {{detail.value}}</p>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
|
|
<v-layout v-for="item in selected_riwayat.details" v-if="selected_riwayat.type_form === 'XO'" :key="d_idx" row >
|
|
<v-flex xs12>
|
|
<v-btn block outline small class="mr-1 mb-1" >
|
|
{{item.label}}
|
|
</v-btn>
|
|
<p class="pl-1 text-caption caption" v-if="item.value && item.value != ''">Keterangan : {{item.value}}</p>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
<div v-if="selected_riwayat.type_form === 'XD'">
|
|
<v-layout v-for="item in selected_riwayat.details" :key="d_idx" wrap >
|
|
<v-flex xs12>
|
|
<v-btn block outline v-for="(detail,d_idx) in item.details" v-if="detail.chx" :key="d_idx" small class="mr-1 mb-1" >
|
|
{{detail.segment_name}}
|
|
</v-b>
|
|
<p class="pl-1 text-caption caption" v-if="item.value && item.value != ''">Keterangan : {{item.value}}</p>
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
</v-flex>
|
|
|
|
</div>
|
|
</v-layout>
|
|
</v-card-text>
|
|
<v-divider></v-divider>
|
|
<v-card-actions>
|
|
|
|
<v-btn block color="blue darken-1" flat @click="dialog_detail = false">Tutup</v-btn>
|
|
</v-card-actions>
|
|
</v-card>
|
|
</v-dialog>
|
|
</v-layout>
|
|
</template>
|
|
<v-content style="background:#F5E8DF!important">
|
|
<v-container fluid>
|
|
<template>
|
|
<div id="e3" style="max-width: 620px; margin:auto">
|
|
<v-dialog v-model="dialogError" width="500">
|
|
<v-card>
|
|
<v-card-title class="headline red darken-4 text-white" primary-title>
|
|
ERROR !
|
|
</v-card-title>
|
|
|
|
<v-card-text>
|
|
{{ errorMsg }}
|
|
</v-card-text>
|
|
|
|
<v-divider></v-divider>
|
|
|
|
<v-card-actions>
|
|
<v-spacer></v-spacer>
|
|
<v-btn color="primary" flat @click="dialogError = false">
|
|
Tutup
|
|
</v-btn>
|
|
</v-card-actions>
|
|
</v-card>
|
|
</v-dialog>
|
|
<v-toolbar class="primary" dark>
|
|
<v-btn icon>
|
|
<v-icon>colorize</v-icon>
|
|
</v-btn>
|
|
<v-toolbar-title>Isi Hasil Fisik</v-toolbar-title>
|
|
<v-spacer></v-spacer>
|
|
</v-toolbar>
|
|
<v-card >
|
|
<v-card-text>
|
|
<v-card class="mb-2" v-if="!_.isEmpty(dt_patient)">
|
|
<v-card-text>
|
|
<v-layout row>
|
|
<v-flex xs4 pa-1>
|
|
<v-text-field
|
|
label="Nomor Lab"
|
|
v-model="dt_patient.ordernumber"
|
|
disabled
|
|
style="font-size: 0.8em!important;"
|
|
hide-details
|
|
></v-text-field>
|
|
</v-flex>
|
|
<v-flex xs4 pa-1>
|
|
<v-text-field
|
|
label="Tanggal Registrasi"
|
|
v-model="dt_patient.orderdate"
|
|
disabled
|
|
style="font-size: 0.8em!important;"
|
|
hide-details
|
|
></v-text-field>
|
|
</v-flex>
|
|
<v-flex xs4 pa-1>
|
|
<v-text-field
|
|
label="Jenis Kelamin"
|
|
style="font-size: 0.8em!important;"
|
|
v-model="dt_patient.sexname"
|
|
disabled
|
|
hide-details
|
|
></v-text-field>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout row>
|
|
<v-flex xs7 pa-1>
|
|
<v-text-field
|
|
label="Nama"
|
|
style="font-size: 0.8em!important;"
|
|
hide-details
|
|
v-model="dt_patient.patient_fullname"
|
|
disabled
|
|
></v-text-field>
|
|
</v-flex>
|
|
|
|
<v-flex xs5 pa-1>
|
|
|
|
<v-text-field
|
|
label="Usia"
|
|
style="font-size: 0.8em!important;"
|
|
v-model="dt_patient.umur"
|
|
disabled
|
|
hide-details
|
|
></v-text-field>
|
|
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout row>
|
|
<v-flex xs12 pa-1>
|
|
<v-textarea
|
|
label="Perusahaan"
|
|
style="font-size: 0.8em!important;"
|
|
v-model="dt_patient.company_name"
|
|
disabled
|
|
rows="auto"
|
|
hide-details
|
|
></v-textarea>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card-text>
|
|
</v-card>
|
|
<v-progress-linear v-if="loading_data" indeterminate color="primary"></v-progress-linear>
|
|
<v-card v-if="!btn_next && btn_before && !loading_data" class="pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">{{tab_riwayat_k3 === 'riwayat' ? 'Riwayat Pasien' : 'K3'}}</div>
|
|
<v-spacer></v-spacer>
|
|
</v-toolbar>
|
|
<v-layout v-if="_.isEmpty(riwayats) && !loading_data" class="pl-2 pr-2" row wrap>
|
|
<v-flex xs12>
|
|
<p class="text-xs-center">Maaf, data riwayat pasien tidak ditemukan</p>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
<v-layout v-else class="pl-2 pr-2" wrap>
|
|
<v-flex xs12>
|
|
<v-layout row>
|
|
<v-flex class="pa-2" xs6>
|
|
<v-btn small :color="tab_riwayat_k3 === 'riwayat' ? 'primary' : 'default'" block @click="tab_riwayat_k3 = 'riwayat'">Riwayat</v-btn>
|
|
</v-flex>
|
|
<v-flex class="pa-2" xs6>
|
|
<v-btn small :color="tab_riwayat_k3 === 'k3' ? 'primary' : 'default'" block @click="tab_riwayat_k3 = 'k3'">Pajanan</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="tab_riwayat_k3 === 'riwayat'" v-for="(item,tab) in r_templates" :key="tab" wrap>
|
|
<v-flex v-for="(riwayat,r_idx) in riwayats" :key="r_idx" xs12>
|
|
<div class="subheading font-weight-black mb-0" v-if="item.title === riwayat.title">
|
|
<v-layout row>
|
|
<v-flex xs6>
|
|
<h5 class="mt-3 mb-2">{{item.title}}</h5>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right" xs6>
|
|
<v-chip label small @click="openDetail(riwayat)">lihat detail</v-chip>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-divider class="mb-2"></v-divider>
|
|
<div v-if="riwayat.type_form === 'XVS'">
|
|
<v-layout v-for="(detail,d_idx) in riwayat.details" :key="d_idx" wrap>
|
|
<v-flex v-if="detail.name != 'Allergi'" xs12>
|
|
<p v-if="item.show_section" class="mb-2 body-2">{{detail.name}}</p>
|
|
<div v-for="(child_detail,child_detail_idx) in detail.details" :key="child_detail_idx" >
|
|
<v-chip label color="green" small text-color="white" class="mr-1 mb-1"
|
|
v-if="!item.section.includes(child_detail.segment_name) && child_detail.chx">
|
|
{{child_detail.label}}
|
|
</v-chip>
|
|
<p class="pl-1 text-caption caption" v-if="child_detail.value && child_detail.value != ''">Keterangan : {{child_detail.value}}</p>
|
|
</div>
|
|
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-for="(detail,d_idx) in riwayat.details" :key="d_idx" wrap >
|
|
<v-flex v-if="detail.name === 'Allergi'" xs12>
|
|
<h5 class="mt-2 mb-2 pl-1">Alergi</h5>
|
|
<div v-for="(child_detail,child_detail_idx) in detail.details" :key="child_detail_idx" >
|
|
<v-chip label color="green" text-color="white" small class="mr-1 mb-1"
|
|
v-if="check_allergi(detail.details) && item.section.includes(child_detail.segment_name) && child_detail.chx">
|
|
{{child_detail.label}}
|
|
</v-chip>
|
|
<v-chip label v-if="!check_allergi(detail.details)" color="grey" text-color="white" small class="mr-1 mb-1" >
|
|
Tidak ada alergi
|
|
</v-chip>
|
|
<p class="pl-1 text-caption caption" v-if="child_detail.value && child_detail.value != ''">Keterangan : {{child_detail.value}}</p>
|
|
</div>
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
<div v-if="riwayat.type_form === 'XV'">
|
|
<v-layout v-for="(detail,d_idx) in riwayat.details" v-if="checkXV(riwayat.details)" :key="d_idx" wrap >
|
|
<v-flex xs12>
|
|
<v-chip label v-if="detail.chx" color="green" text-color="white" small class="mr-1 mb-1" >
|
|
{{detail.label}}
|
|
</v-chip>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="!checkXV(riwayat.details)" :key="d_idx" row >
|
|
<v-flex xs12>
|
|
<v-chip label color="grey" text-color="white" small class="mr-1 mb-1" >
|
|
Tidak ada
|
|
</v-chip>
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
<div v-if="riwayat.type_form === 'XO'">
|
|
<v-layout v-for="item in xodetail(riwayat.details)" v-if="xodetail(riwayat.details).length > 0" :key="d_idx" row >
|
|
<v-flex xs12>
|
|
<v-chip label color="green" text-color="white" small class="mr-1 mb-1" >
|
|
{{item.label}} : {{item.value}}
|
|
</v-chip>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="xodetail(riwayat.details).length === 0" :key="d_idx" row >
|
|
<v-flex xs12>
|
|
<v-chip label color="grey" text-color="white" small class="mr-1 mb-1" >
|
|
Tidak ada
|
|
</v-chip>
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
<div v-if="riwayat.type_form === 'XD'">
|
|
<v-layout v-for="item in riwayat.details" :key="d_idx" wrap >
|
|
<v-flex xs12>
|
|
<v-chip label color="green" text-color="white" v-for="(detail,d_idx) in item.details" v-if="detail.chx" :key="d_idx" small class="mr-1 mb-1" >
|
|
{{detail.segment_name}} : {{detail.label}}
|
|
</v-chip>
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
</div>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
<v-layout v-if="tab_riwayat_k3 === 'k3'" v-for="(k3,k3_idx) in dt_k3s" :key="k3_idx">
|
|
<v-flex xs12>
|
|
<v-layout row>
|
|
<v-flex xs12>
|
|
<h3>{{k3.title}}</h3>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout wrap>
|
|
<v-flex xs12>
|
|
<v-chip label :color="k3_detail.chx ? 'green' : 'grey'" :text-color="k3_detail.chx ? 'white' : 'black'" v-for="k3_detail in k3.details" :key="k3_detail_idx" small class="mr-1 mb-1" >
|
|
{{k3_detail.label}}
|
|
</v-chip>
|
|
|
|
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-layout>
|
|
</v-flex>
|
|
<!--<v-flex xs12 v-for="(item,tab) in templates" :key="tab">
|
|
<v-layout v-for="(riwayat,r_idx) in riwayats" :key="r_idx" wrap>
|
|
<v-flex xs12>
|
|
<h3 v-if="item.title === riwayat.title">{{item.title}}</h3>
|
|
</v-flex>
|
|
<v-divider></v-divider>
|
|
<v-flex v-if="riwayat.type_form === 'XVS'" xs12>
|
|
<div v-for="(detail,d_idx) in riwayat.details" :key="d_idx">
|
|
<v-layout v-for="(child_detail,child_detail_idx) in detail.details" :key="child_detail_idx" v-if="!item.section.includes(detail.name)" wrap>
|
|
<v-flex xs12>
|
|
<v-chip class="btn-card" :dark="child_detail.chx" v-if="item.flag_normal === 'N' && item.childs.includes(child_detail.id_code)" :color="child_detail.chx ? 'primary' : ''" @click="child_detail.chx = child_detail.chx === true ? false : true">{{child_detail.label}}</v-chip>
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-flex>-->
|
|
</v-layout>
|
|
</v-card>
|
|
<v-card v-if="!_.isEmpty(dt_umum) && !btn_next && !btn_before && !loading_data" class="pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Keluhan saat ini</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="keluhan_isnormal === 'N'" @click="changeKeluhanNormal('Y')" block>TIDAK ADA</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="keluhan_isnormal === 'Y'" @click="changeKeluhanNormal('Y')" block color="error">TIDAK ADA</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="keluhan_isnormal === 'Y'" @click="changeKeluhanNormal('N')" block>ADA</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="keluhan_isnormal === 'N'" @click="changeKeluhanNormal('N')" block color="error">ADA</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="keluhan_isnormal === 'N'" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in dt_umum.riwayats[0].details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="_.includes(dt_keluhan, item.id_code) && item.chx" @click="changeKeluhanChx(item.id_code)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="_.includes(dt_keluhan, item.id_code) && !item.chx" @click="changeKeluhanChx(item.id_code)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
ref="name"
|
|
v-if="keluhan_lain"
|
|
label="Keterangan"
|
|
hide-details
|
|
style="font-size: 0.8em!important;"
|
|
v-model="dt_umum.riwayats[0].details[27].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
<v-card v-if="!_.isEmpty(dt_umum) && !btn_next && !btn_before && ( dt_patient.sexcode === 'F' || dt_patient.sexcode === 'P' )" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Khusus perempuan, saat MCU X</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout v-for="item in dt_umum.riwayats[0].details" v-if="item.id_code === 'fisik_keluhan_29' && ( dt_patient.sexcode === 'F' || dt_patient.sexcode === 'P' )" class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" @click="changeKeluhanChx(item.id_code)" v-if="!item.chx" block color="error">Sedang tidak haid</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" @click="changeKeluhanChx(item.id_code)" v-if="item.chx" block>Sedang tidak haid</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" @click="changeKeluhanChx(item.id_code)" v-if="!item.chx" block>Sedang haid</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" @click="changeKeluhanChx(item.id_code)" v-if="item.chx" color="error" block>Sedang haid</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<div v-if="!_.isEmpty(dt_umum) && btn_next && !btn_before && !loading_data" v-for="(fisik, index) in dt_umum.fisiks">
|
|
<v-card v-if="fisik.title === 'TANDA VITAL'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Tanda Vital</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
label="Sistole"
|
|
v-model="fisik.details[0].value_x"
|
|
:suffix="fisik.details[0].unit"
|
|
></v-text-field>
|
|
</v-flex>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-text-field
|
|
label="Diastole"
|
|
style="font-size: 0.8em!important;"
|
|
v-model="fisik.details[0].value_y"
|
|
:suffix="fisik.details[0].unit"
|
|
></v-text-field>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-text-field
|
|
label="Denyut Nadi"
|
|
style="font-size: 0.8em!important;"
|
|
v-model="fisik.details[2].value"
|
|
:suffix="fisik.details[2].unit"
|
|
></v-text-field>
|
|
</v-flex>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[3].chx_y && !fisik.details[3].chx_x" @click="changeRitmeDenyutNadi('N',index)" block>Reguler</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[3].chx_y" @click="changeRitmeDenyutNadi('I',index)" color="error" block>Reguler</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[3].chx_x" @click="changeRitmeDenyutNadi('A',index)" color="error" block>Ireguler</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-text-field
|
|
label="Laju Nafas"
|
|
style="font-size: 0.8em!important;"
|
|
v-model="fisik.details[4].value"
|
|
:suffix="fisik.details[4].unit"
|
|
></v-text-field>
|
|
</v-flex>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[5].chx_x === false &&fisik.details[5].chx_y === false" @click="changePolaNafas('N',index)" block>Normal</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[5].chx_y" @click="changePolaNafas('T',index)" color="error" block>Normal</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[5].chx_x" @click="changePolaNafas('X',index)" color="error" block>Tidak Normal</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'KEPALA WAJAH'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Kepala</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].chx" @click="changeKepalaNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].chx" @click="changeKepalaNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_kepala" @click="changeKepalaNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_kepala" @click="changeKepalaNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_kepala" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeKepalaChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeKepalaChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="kepala_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[4].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'MATA'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Mata</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].chx" @click="changeMataNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].chx" @click="changeMataNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_mata" @click="changeMataNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_mata" @click="changeMataNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_mata" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeMataChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeMataChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="mata_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[9].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
<v-card v-if="fisik.title === 'LAPANG PANDANG'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Lapang Pandang</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="lapang_isnormal === 'N' || lapang_isnormal === 'X'" @click="changeLapangNormal(true,index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="lapang_isnormal === 'Y'" @click="changeLapangNormal(true,index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="lapang_isnormal === 'Y' || lapang_isnormal === 'X'" @click="changeLapangNormal(false,index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="lapang_isnormal === 'N'" @click="changeLapangNormal(false,index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="lapang_isnormal === 'N'" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].value.toLowerCase() !== 'menyempit'" @click="changeLapangChx(true,'Menyempit',index)" block>Menyempit</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].value.toLowerCase() === 'menyempit'" @click="changeLapangChx(false,'Menyempit',index)" color="error" block>Menyempit</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'TELINGA'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Telinga</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].chx" @click="changeTelingaNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].chx" @click="changeTelingaNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_telinga" @click="changeTelingaNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_telinga" @click="changeTelingaNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_telinga" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeTelingaChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeTelingaChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="telinga_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[5].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'HIDUNG'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Hidung</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].chx" @click="changeHidungNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].chx" @click="changeHidungNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_hidung" @click="changeHidungNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_hidung" @click="changeHidungNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_hidung" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeHidungChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeHidungChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="hidung_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[6].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'GIGI'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Gigi</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].chx" @click="changeGigiNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].chx" @click="changeGigiNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_gigi" @click="changeGigiNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_gigi" @click="changeGigiNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_gigi" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeGigiChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeGigiChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'MULUT'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Mulut</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].details[0].chx" @click="changeMulutNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].details[0].chx" @click="changeMulutNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_mulut" @click="changeMulutNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_mulut" @click="changeMulutNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_mulut" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details[0].details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeMulutChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeMulutChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="mulut_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[0].details[3].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'MULUT'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Tenggorokan</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[1].details[0].chx" @click="changeTenggorokanNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[1].details[0].chx" @click="changeTenggorokanNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_tenggorokan" @click="changeTenggorokanNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_tenggorokan" @click="changeTenggorokanNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_tenggorokan" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details[1].details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeTenggorokanChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeTenggorokanChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="tenggorokan_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[1].details[4].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'LEHER'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Leher</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].chx" @click="changeLeherNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].chx" @click="changeLeherNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_leher" @click="changeLeherNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_leher" @click="changeLeherNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_leher" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details" v-if="item.label !== 'Kaku Kuduk' && item.label !== 'JVP meningkat'" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeLeherChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeLeherChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="leher_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[5].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'PARU-PARU'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Paru-Paru</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].chx" @click="changeParuNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].chx" @click="changeParuNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_paru" @click="changeParuNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_paru" @click="changeParuNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_paru" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex class="pl-2 pr-2" v-for="item in fisik.details" v-if="item.id_code !== 'paru_2' && item.id_code !== 'paru_3'" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeParuChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeParuChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="paru_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[4].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'PERUT / ABDOMEN'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Abdomen</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="normal_abdomen == '' || !normal_abdomen" @click="changeAbdomenNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="normal_abdomen" @click="changeAbdomenNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_normal_abdomen" @click="changeAbdomenNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_normal_abdomen" @click="changeAbdomenNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_normal_abdomen" row class="pl-2 pr-2 text-xs-right" wrap>
|
|
<v-flex xs12 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].details[1].chx" @click="fisik.details[0].details[1].chx = true" block>{{fisik.details[0].details[1].label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].details[1].chx" @click="fisik.details[0].details[1].chx = false" color="error" block>{{fisik.details[0].details[1].label}}</v-btn>
|
|
</v-flex>
|
|
<v-flex xs12 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[1].details[1].chx" @click="fisik.details[1].details[1].chx = true" block>{{fisik.details[1].name}} {{fisik.details[1].details[1].label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[1].details[1].chx" @click="fisik.details[1].details[1].chx = false" color="error" block>{{fisik.details[1].name}} {{fisik.details[1].details[1].label}}</v-btn>
|
|
</v-flex>
|
|
<!--<v-flex xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[5].details[2].chx" @click="changeHemmoroid(index)" block>{{fisik.details[5].name}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[5].details[2].chx" @click="changeHemmoroid(index)" color="error" block>{{fisik.details[5].name}}</v-btn>
|
|
</v-flex>-->
|
|
<v-flex class="pl-2 pr-2" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].details[4].chx" @click="fisik.details[0].details[4].chx = true" block>{{fisik.details[0].details[4].label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].details[4].chx" @click="fisik.details[0].details[4].chx = false" color="error" block>{{fisik.details[0].details[4].label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="fisik.details[0].details[4].chx" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[0].details[4].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
</v-card>
|
|
|
|
<v-card v-for="(childitem,index_child) in fisik.details" v-if="fisik.title === 'PERUT / ABDOMEN' && childitem.name === 'Hernia'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">{{childitem.name}}</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<div v-if="childitem.name === 'Hernia'">
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[index_child].details[0].chx" @click="changeHerniaNormal('Y',index, index_child)" block>{{fisik.details[index_child].details[0].label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[index_child].details[0].chx" @click="changeHerniaNormal('N',index, index_child)" block color="error">{{fisik.details[index_child].details[0].label}}</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[index_child].details[1].chx" @click="changeHerniaNormal('N',index, index_child)" block>{{fisik.details[index_child].details[1].label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[index_child].details[1].chx" @click="changeHerniaNormal('Y',index, index_child)" block color="error">{{fisik.details[index_child].details[1].label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="fisik.details[index_child].details[1].chx" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="(item, index_item) in fisik.details[index_child].details[1].details" xs12>
|
|
<div v-if="item.id_code === 'perut_14_1'">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.chx_value" @click="item.chx_value = false" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!item.chx_value" @click="item.chx_value = true" block>{{item.label}}</v-btn>
|
|
</div>
|
|
<div v-if="item.id_code !== 'perut_14_1'">
|
|
<v-layout row>
|
|
<v-flex pa-2 xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.chx_a_value" @click="item.chx_a_value = false" color="error" block>{{item.label}} : ({{item.chx_a_label}})</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!item.chx_a_value" @click="item.chx_a_value = true" block>{{item.label}} : ({{item.chx_a_label}})</v-btn>
|
|
</v-flex>
|
|
<v-flex pa-2 xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.chx_b_value" @click="item.chx_b_value = false" color="error" block>{{item.label}} : ({{item.chx_b_label}})</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!item.chx_b_value" @click="item.chx_b_value = true" block>{{item.label}} : ({{item.chx_b_label}})</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
|
|
</div>
|
|
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
|
|
|
|
|
|
</v-card>
|
|
|
|
<v-card v-for="(childitem,index_child) in fisik.details" v-if="fisik.title === 'PERUT / ABDOMEN' && childitem.name === 'Pengukuran'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">{{childitem.name}}</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<div v-if="childitem.name === 'Pengukuran'">
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 v-for="(item, index_item) in fisik.details[index_child].details" :key="index_item" class="pl-2 pr-2">
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
:label="item.label"
|
|
v-model="item.value"
|
|
hide-details
|
|
v-model="fisik.details[index_child].details[0].value"
|
|
>
|
|
<template v-slot:append>{{item.unit}}</template>
|
|
</v-text-field>
|
|
</v-flex>
|
|
|
|
</v-layout>
|
|
</div>
|
|
|
|
|
|
|
|
</v-card>
|
|
|
|
<v-card v-for="(childitem,index_child) in fisik.details" v-if="fisik.title === 'PERUT / ABDOMEN' && childitem.name === 'Hemorroid'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Anogenital</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<div v-if="childitem.name === 'Hemorroid'">
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[index_child].details[0].chx" @click="changeHemmoroidNormal('Y',index, index_child)" block>{{fisik.details[index_child].details[0].label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[index_child].details[0].chx" @click="changeHemmoroidNormal('N',index, index_child)" block color="error">{{fisik.details[index_child].details[0].label}}</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[index_child].details[2].chx" @click="changeHemmoroidNormal('N',index, index_child)" block>{{fisik.details[index_child].details[2].label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[index_child].details[2].chx" @click="changeHemmoroidNormal('Y',index, index_child)" block color="error">{{fisik.details[index_child].details[2].label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="fisik.details[index_child].details[2].chx" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="(item, index_item) in fisik.details[index_child].details[2].details" xs12>
|
|
<div>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.chx" @click="item.chx = false" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!item.chx" @click="item.chx = true" block>{{item.label}}</v-btn>
|
|
</div>
|
|
<div v-if="item.id_code === 'perut_18_5' && item.chx">
|
|
<v-layout row>
|
|
<v-flex pa-2 xs12>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="item.value"
|
|
></v-text-field>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
|
|
</div>
|
|
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
|
|
|
|
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'SISTEM INTEGUMEN'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Kulit</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].details[0].chx" @click="changeKulitNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].details[0].chx" @click="changeKulitNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_kulit" @click="changeKulitNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_kulit" @click="changeKulitNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_kulit" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details[0].details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeKulitChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeKulitChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="kulit_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[0].details[3].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-for="(childitem,index_child) in fisik.details" v-if="fisik.title === 'ANGGOTA GERAK' && childitem.name !== 'Tonus / otot'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">{{childitem.name}}</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<div v-if="childitem.name === 'Ekstrimitas atas'">
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].details[0].chx" @click="changeEkstremitasAtasNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].details[0].chx" @click="changeEkstremitasAtasNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_ekstremitas_atas" @click="changeEkstremitasAtasNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_ekstremitas_atas" @click="changeEkstremitasAtasNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_ekstremitas_atas" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details[0].details" v-if="item.id_code !== 'anggota_gerak_3' && item.id_code !== 'anggota_gerak_4' && item.id_code !== 'anggota_gerak_5'" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal !== 'Y' && item.chx" @click="changeEkstremitasAtasChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal !== 'Y' && !item.chx" @click="changeEkstremitasAtasChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="ekstremitas_atas_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[0].details[6].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
|
|
<div v-if="childitem.name === 'Ekstrimitas bawah'">
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[1].details[0].chx" @click="changeEkstremitasBawahNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[1].details[0].chx" @click="changeEkstremitasBawahNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_ekstremitas_bawah" @click="changeEkstremitasBawahNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_ekstremitas_bawah" @click="changeEkstremitasBawahNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_ekstremitas_bawah" row class="pl-2 mt-3 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details[1].details" v-if="item.id_code !== 'anggota_gerak_10' && item.id_code !== 'anggota_gerak_11'" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal !== 'Y' && item.chx" @click="changeEkstremitasBawahChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal !== 'Y' && !item.chx" @click="changeEkstremitasBawahChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="ekstremitas_bawah_lain" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="fisik.details[1].details[5].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</div>
|
|
|
|
</v-card>
|
|
|
|
<div v-if="fisik.title === 'SISTEM PERSYARAFAN'" v-for="(item,k_item) in fisik.details">
|
|
<v-card v-if="item.name == 'Refleks Pathologis'" class="mt-2 pa-2">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">{{item.name}}</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!item.details[0].chx" @click="changeRefleksPathologiNormal(index)" block>TIDAK ADA</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.details[0].chx" @click="changeRefleksPathologiNormal(index)" block color="error">TIDAK ADA</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!item.details[1].chx" @click="changeRefleksPathologiAda(index)" block>ADA</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.details[1].chx" @click="changeRefleksPathologiAda(index)" block color="error">ADA</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="item.details[1].chx" class="pl-2 pr-2" row>
|
|
<v-flex class="text-xs-center" xs12>
|
|
<v-card elevation="0" ref="form">
|
|
<v-card-text>
|
|
<v-text-field
|
|
style="font-size: 0.8em!important;"
|
|
ref="name"
|
|
|
|
label="Keterangan"
|
|
hide-details
|
|
v-model="item.details[1].value"
|
|
></v-text-field>
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
</div>
|
|
|
|
|
|
<div v-if="fisik.title === 'PEMERIKSAAN EKSTREMITAS'">
|
|
<v-card class="mt-2 pa-2">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">{{fisik.title}}</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout row class="pl-2 mt-3" v-for="(child_item,k_child_item) in fisik.details" wrap>
|
|
<v-flex xs12>
|
|
<h4 class="mb-2">{{child_item.label}}</h4>
|
|
</v-flex>
|
|
<v-flex v-for="child_detail in child_item.details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="child_detail.chx" @click="changeEkstremitasChx(child_detail.id_code,index,k_child_item)" color="error" block>{{child_detail.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!child_detail.chx" @click="changeEkstremitasChx(child_detail.id_code,index,k_child_item)" block>{{child_detail.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<v-layout v-if="!_.isEmpty(dt_umum) && btn_next && !btn_before && !loading_data" class="mt-3 mb-3" row>
|
|
<v-flex xs12>
|
|
<v-divider></v-divider>
|
|
<h4 class="mt-3">OPTIONAL</h4>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
<div v-if="!_.isEmpty(dt_umum) && btn_next && !btn_before && !loading_data" v-for="(fisik, index) in dt_umum.fisiks">
|
|
|
|
<v-card v-for="(item,k_item) in fisik.details" v-if="fisik.title === 'SISTEM PERSYARAFAN' && item.name === 'Keseimbangan & Koordinasi (Romberg)'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">{{item.name}}</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[2].details[0].chx" @click="changeKeseimbanganNormal(true,index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[2].details[0].chx" @click="changeKeseimbanganNormal(false,index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[2].details[1].chx" @click="changeKeseimbanganAbnormal(true,index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[2].details[1].chx" @click="changeKeseimbanganAbnormal(false,index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-card v-if="fisik.title === 'SMELL TEST'" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="subheading font-weight-black mb-0">Smell Test</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[0].details[0].chx" @click="changeSmellNormal('Y',index)" block>NORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[0].details[0].chx" @click="changeSmellNormal('Y',index)" block color="error">NORMAL</v-btn>
|
|
</v-flex>
|
|
<v-flex class="text-xs-right pl-2 pr-2" xs6>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!open_listing_abnormal_smell" @click="changeSmellNormal('N',index)" block>ABNORMAL</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_smell" @click="changeSmellNormal('N',index)" block color="error">ABNORMAL</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-layout v-if="open_listing_abnormal_smell" row class="pl-2 pr-2 text-xs-right" wrap>
|
|
<v-flex v-for="item in fisik.details[0].details" xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeSmellChx(item.id_code,index)" color="error" block>{{item.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && !item.chx" @click="changeSmellChx(item.id_code,index)" block>{{item.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
|
|
<v-layout v-if="fisik.title === 'LOW BACK PAIN SCREENING TEST'" class="mt-3 mb-3" row>
|
|
<v-flex xs12>
|
|
<v-divider></v-divider>
|
|
<h4 class="mt-3">LBP SCREENING TEST</h4>
|
|
</v-flex>
|
|
</v-layout>
|
|
|
|
<v-card v-if="fisik.title === 'LOW BACK PAIN SCREENING TEST'" v-for="(test,k_test) in fisik.details" class="mt-2 pa-2" elevation="1">
|
|
<v-toolbar flat dense class="mb-2" small>
|
|
<div style="text-size:16px!important;" class="body-1 font-weight-black mb-0">{{test.name}}</div>
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-toolbar-items>
|
|
|
|
</v-toolbar-items>
|
|
</v-toolbar>
|
|
|
|
<v-layout class="pl-2 pr-2" row wrap>
|
|
<v-flex xs6 v-for="(detail,k_detail) in test.details" class="pl-2 pr-2">
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!detail.chx" @click="changeLBPChx(true,k_test,k_detail,index)" block>{{detail.label}}</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="detail.chx" @click="changeLBPChx(false,k_test,k_detail,index)" block color="error">{{detail.label}}</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
</div>
|
|
</v-card-text>
|
|
<v-card-actions>
|
|
|
|
<v-btn v-if="!loading_data && btn_before" @click="btn_before = false" block text color="primary">Lanjutkan</v-btn>
|
|
<v-btn v-if="!loading_data && !btn_next && !btn_before" @click="changeTab(true,false)" dark block text color="black">Kembali</v-btn>
|
|
<v-btn v-if="!loading_data && btn_next" @click="changeTab(false,false)" dark block text color="black">Kembali</v-btn>
|
|
|
|
<v-btn v-if="!loading_data && !btn_next && !btn_before" @click="btn_next = true" block text color="primary">Lanjutkan</v-btn>
|
|
<v-btn dark v-if="!loading_data && btn_next" @click="SaveResult()" block text color="teal">Simpan</v-btn>
|
|
|
|
|
|
|
|
|
|
</v-card-actions>
|
|
</v-card>
|
|
</div>
|
|
</template>
|
|
|
|
</v-container>
|
|
</v-content>
|
|
<one-footer> </one-footer>
|
|
|
|
</v-app>
|
|
</div>
|
|
|
|
<!-- Vendor -->
|
|
<script src="../../../libs/vendor/html5-qrcode.min.js"></script>
|
|
<script src="../../../libs/vendor/moment.min.js"></script>
|
|
<script src="../../../libs/vendor/numeral.min.js"></script>
|
|
<script src="../../../libs/vendor/moment-locale-id.js"></script>
|
|
<script src="../../../libs/vendor/lodash.js"></script>
|
|
<script src="../../../libs/vendor/axios.min.js"></script>
|
|
<script src="../../../libs/vendor/vue.js"></script>
|
|
<script src="../../../libs/vendor/vuex.js"></script>
|
|
<script src="../../../libs/vendor/vuetify.js"></script>
|
|
<script src="../../../libs/vendor/httpVueLoader.js"></script>
|
|
<script src="../../../libs/one_global.js"></script>
|
|
<script src="../../../libs/one_print_barcode.js"></script>
|
|
<script src="../../../libs/one_print_robo.js"></script>
|
|
|
|
|
|
|
|
<!-- App Script -->
|
|
<?php
|
|
$ts = "?ts=" . Date("ymdhis");
|
|
?>
|
|
<script type="module">
|
|
window.calculate_age = function(inp_dob) {
|
|
var now = moment(new Date())
|
|
var dob = moment(new Date(inp_dob))
|
|
var year = now.diff(dob, 'years')
|
|
dob.add(year, 'years')
|
|
var month = now.diff(dob, 'months')
|
|
dob.add(month, 'months')
|
|
var day = now.diff(dob, 'days')
|
|
if (isNaN(year)) return ''
|
|
return `${year} tahun ${month} bulan ${day} hari`
|
|
}
|
|
|
|
|
|
import {
|
|
store
|
|
} from './store.js<?php echo $ts ?>';
|
|
|
|
//for testing
|
|
window.store = store;
|
|
new Vue({
|
|
store,
|
|
el: '#app',
|
|
methods: {
|
|
tab_selected: function(tab) {
|
|
return this.$store.state.tab_selected == tab
|
|
}
|
|
},
|
|
components: {
|
|
'one-navbar': httpVueLoader('../../../apps/components/oneNavbarComponent.vue'),
|
|
'one-footer': httpVueLoader('../../../apps/components/oneFooter.vue'),
|
|
'one-patient-list': httpVueLoader('./components/onePatientList.vue'),
|
|
'qr-scanner': httpVueLoader('./components/oneQRscanner.vue')
|
|
},
|
|
mounted: function() {
|
|
let url_string = window.location.href
|
|
let url = new URL(url_string)
|
|
let labnumber = url.searchParams.get("id")
|
|
let station_id = url.searchParams.get("stat")
|
|
let location_id = url.searchParams.get("loc")
|
|
this.labnumber = labnumber
|
|
this.station_id = station_id
|
|
this.location_id = location_id
|
|
|
|
if (labnumber) {
|
|
console.log(labnumber)
|
|
this.$store.commit('patient/update_url_labnumber', labnumber)
|
|
this.$store.dispatch("patient/get_patient", {
|
|
'nolab': labnumber,
|
|
'type': 'FISIK'
|
|
})
|
|
this.true_keluhan_lain()
|
|
} else if (station_id && location_id) {
|
|
alert("Nomor Lab tidak ditemukan!!!!")
|
|
}
|
|
},
|
|
methods: {
|
|
changeHemmoroidNormal(value,index,index_child){
|
|
let dt = this.dt_umum
|
|
let val = value === 'Y' ? true : false
|
|
dt.fisiks[index].details[index_child].details[0].chx = val
|
|
dt.fisiks[index].details[index_child].details[2].chx = !val
|
|
|
|
let parent_abnormal = dt.fisiks[index].details[index_child].details[2].chx
|
|
if(!parent_abnormal){
|
|
console.log('Normal hemoroid')
|
|
let childs = dt.fisiks[index].details[index_child].details[2].details
|
|
childs.forEach(child => {
|
|
child.chx = false
|
|
child.value = ""
|
|
});
|
|
}
|
|
|
|
this.dt_umum = dt
|
|
},
|
|
changeHerniaNormal(value,index,index_child){
|
|
let dt = this.dt_umum
|
|
let val = value === 'Y' ? true : false
|
|
dt.fisiks[index].details[index_child].details[0].chx = val
|
|
dt.fisiks[index].details[index_child].details[1].chx = !val
|
|
|
|
let parent_abnormal = dt.fisiks[index].details[index_child].details[0].chx
|
|
if(!parent_abnormal){
|
|
dt.fisiks[index].details[index_child].details[1].details[0].chx_value = false
|
|
dt.fisiks[index].details[index_child].details[1].details[1].chx_a_value = false
|
|
dt.fisiks[index].details[index_child].details[1].details[1].chx_b_value = false
|
|
dt.fisiks[index].details[index_child].details[1].details[2].chx_a_value = false
|
|
dt.fisiks[index].details[index_child].details[1].details[2].chx_b_value = false
|
|
}
|
|
|
|
this.dt_umum = dt
|
|
},
|
|
openDetail(riwayat){
|
|
this.selected_riwayat = riwayat
|
|
this.dialog_detail = true
|
|
},
|
|
xodetail(details){
|
|
let dt = []
|
|
details.forEach(item => {
|
|
let options = []
|
|
if(item.options[0].selected)
|
|
options.push(item.options[0].label)
|
|
|
|
if(item.options[1].selected)
|
|
options.push(item.options[1].label)
|
|
|
|
if(options.length > 0){
|
|
let string_opt = options.join(', ')
|
|
dt.push({
|
|
label:item.label,
|
|
value:string_opt
|
|
})
|
|
}
|
|
|
|
});
|
|
return dt
|
|
},
|
|
checkXV(details){
|
|
let chx = false
|
|
details.forEach(item => {
|
|
if(item.chx)
|
|
chx = true
|
|
});
|
|
return chx
|
|
},
|
|
check_allergi(details){
|
|
let chx = false
|
|
details.forEach(item => {
|
|
if(item.chx)
|
|
chx = true
|
|
});
|
|
return chx
|
|
},
|
|
changeTab(before,next){
|
|
this.btn_before = before
|
|
this.btn_next = next
|
|
},
|
|
SaveResult(){
|
|
let trx = this.datas
|
|
let dt = this.dt_umum
|
|
let prm = trx
|
|
prm.act = trx.template_name;
|
|
|
|
let fisiks = dt.fisiks
|
|
console.log(fisiks)
|
|
fisiks.forEach((item,itm_index) => {
|
|
if(item.title === "TANDA VITAL"){
|
|
item.details.forEach((detail,det_index) => {
|
|
if(detail.id_code === "tanda_vital_6"){
|
|
detail.chx_y = true
|
|
}
|
|
});
|
|
}
|
|
|
|
if(item.title === "THORAX / DADA"){
|
|
item.details.forEach((detail,det_index) => {
|
|
if(detail.id_code === "thorax_1"){
|
|
detail.chx = true
|
|
}
|
|
});
|
|
}
|
|
|
|
if(item.title === "JANTUNG"){
|
|
item.details.forEach((detail,det_index) => {
|
|
if(detail.name === "Apex"){
|
|
detail.details.forEach((detail_child,det_child_index) => {
|
|
if(detail_child.id_code === "jantung_3"){
|
|
detail_child.chx = true
|
|
}
|
|
});
|
|
}
|
|
if(detail.name === "Suara jantung"){
|
|
detail.details.forEach((detail_child,det_child_index) => {
|
|
if(detail_child.id_code === "jantung_5"){
|
|
detail_child.chx = true
|
|
}
|
|
});
|
|
}
|
|
if(detail.name === "Bising jantung / Murmur"){
|
|
detail.details.forEach((detail_child,det_child_index) => {
|
|
if(detail_child.id_code === "jantung_7"){
|
|
detail_child.chx = true
|
|
}
|
|
});
|
|
}
|
|
});
|
|
}
|
|
|
|
if(item.title === "GENITOURINARIA"){
|
|
item.details.forEach((detail,det_index) => {
|
|
if(detail.id_code === "genitourinaria_2"){
|
|
detail.chx = true
|
|
}
|
|
});
|
|
}
|
|
|
|
if(item.title === "SISTEM PERSYARAFAN"){
|
|
item.details.forEach((detail,det_index) => {
|
|
if(detail.name === "Refleks Fisiologis"){
|
|
detail.details.forEach((detail_child,det_child_index) => {
|
|
if(detail_child.id_code === "sistem_persyarafan_1"){
|
|
detail_child.chx = true
|
|
}
|
|
});
|
|
}
|
|
if(detail.name === "Refleks Neurologis Lainnya"){
|
|
detail.details.forEach((detail_child,det_child_index) => {
|
|
if(detail_child.id_code === "sistem_persyarafan_8"){
|
|
detail_child.chx = true
|
|
}
|
|
});
|
|
}
|
|
});
|
|
}
|
|
|
|
if(item.title === "SISTEM INTEGUMEN"){
|
|
item.details.forEach((detail,det_index) => {
|
|
if(detail.name === "Kuku"){
|
|
detail.details.forEach((detail_child,det_child_index) => {
|
|
if(detail_child.id_code === "sistem_integumen_5"){
|
|
detail_child.chx = true
|
|
}
|
|
});
|
|
}
|
|
if(detail.name === "Rambut"){
|
|
detail.details.forEach((detail_child,det_child_index) => {
|
|
if(detail_child.id_code === "sistem_integumen_7"){
|
|
detail_child.chx = true
|
|
}
|
|
});
|
|
}
|
|
});
|
|
}
|
|
|
|
if(item.title === "ANGGOTA GERAK"){
|
|
item.details.forEach((detail,det_index) => {
|
|
if(detail.name === "Tonus / otot"){
|
|
detail.details.forEach((detail_child,det_child_index) => {
|
|
if(detail_child.id_code === "anggota_gerak_16"){
|
|
detail_child.chx = true
|
|
}
|
|
});
|
|
}
|
|
});
|
|
}
|
|
|
|
});
|
|
|
|
this.$store.dispatch("patient/savefisik", {
|
|
template: trx.template_name,
|
|
trx: trx,
|
|
trx_numbering: this.dt_patient.ordernumber,
|
|
riwayats: dt.riwayats,
|
|
fisiks: fisiks,
|
|
umum_saran: dt.umum_saran,
|
|
konsul: dt.konsul,
|
|
k3s: this.dt_k3s,
|
|
act: trx.template_name,
|
|
action: "save",
|
|
r_templates: this.r_templates
|
|
});
|
|
},
|
|
changeParentHernia(index){
|
|
let dt_umum = this.dt_umum
|
|
dt_umum.fisiks[index].details[4].details[1].chx = false
|
|
console.log(dt_umum.fisiks[index].details[4])
|
|
if(
|
|
dt_umum.fisiks[index].details[4].details[1].details[0].chx_value ||
|
|
dt_umum.fisiks[index].details[4].details[1].details[2].chx_a_value ||
|
|
dt_umum.fisiks[index].details[4].details[1].details[2].chx_b_value ||
|
|
dt_umum.fisiks[index].details[4].details[1].details[1].chx_a_value ||
|
|
dt_umum.fisiks[index].details[4].details[1].details[1].chx_b_value
|
|
){
|
|
dt_umum.fisiks[index].details[4].details[1].chx = true
|
|
}
|
|
},
|
|
changeUmbilukus(index){
|
|
let dt_umum = this.dt_umum
|
|
|
|
dt_umum.fisiks[index].details[4].details[1].details[0].chx_value = !dt_umum.fisiks[index].details[4].details[1].details[0].chx_value
|
|
|
|
this.changeParentHernia(index)
|
|
|
|
},
|
|
changeScrotum(value,index){
|
|
let dt_umum = this.dt_umum
|
|
if(value === 'D'){
|
|
dt_umum.fisiks[index].details[4].details[1].details[2].chx_a_value = !dt_umum.fisiks[index].details[4].details[1].details[2].chx_a_value
|
|
}else{
|
|
dt_umum.fisiks[index].details[4].details[1].details[2].chx_b_value = !dt_umum.fisiks[index].details[4].details[1].details[2].chx_b_value
|
|
}
|
|
|
|
this.changeParentHernia(index)
|
|
},
|
|
changeInguinal(value,index){
|
|
let dt_umum = this.dt_umum
|
|
if(value === 'D'){
|
|
dt_umum.fisiks[index].details[4].details[1].details[1].chx_a_value = !dt_umum.fisiks[index].details[4].details[1].details[1].chx_a_value
|
|
}else{
|
|
dt_umum.fisiks[index].details[4].details[1].details[1].chx_b_value = !dt_umum.fisiks[index].details[4].details[1].details[1].chx_b_value
|
|
}
|
|
this.changeParentHernia(index)
|
|
},
|
|
changeAbdomenLain(value){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[13].details[0].details[4].chx = value
|
|
if(!value)
|
|
dt.fisiks[13].details[0].details[4].value = ""
|
|
},
|
|
changeLBPChx(value,i,j,index){
|
|
let dt = this.dt_umum
|
|
let inspected = 'N'
|
|
dt.fisiks[index].details.forEach((test,a) => {
|
|
test.details.forEach((detail,b) => {
|
|
if(a == i){
|
|
if(b == j){
|
|
detail.chx = !detail.chx
|
|
}else{
|
|
detail.chx = false
|
|
}
|
|
|
|
if(detail.chx)
|
|
inspected = 'Y'
|
|
}
|
|
});
|
|
});
|
|
console.log(inspected)
|
|
dt.fisiks[index].is_inspected = inspected
|
|
},
|
|
changeSmellNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details[0].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_smell = false
|
|
dt.fisiks[index].details[0].details[0].chx = true
|
|
|
|
}else{
|
|
this.open_listing_abnormal_smell = true
|
|
}
|
|
this.dt_umum = dt
|
|
console.log(dt)
|
|
},
|
|
changeSmellChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details[0].details
|
|
let inspected = 'N'
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(item.chx)
|
|
inspected = 'Y'
|
|
});
|
|
|
|
this.dt_umum.fisiks[index].is_inspected = inspected
|
|
//this.true_gigi_lain()
|
|
},
|
|
changeEkstremitasChx(id_code,index,k_child_item){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[index].details[k_child_item].details.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
else
|
|
item.chx = false
|
|
});
|
|
this.dt_umum = dt
|
|
},
|
|
changeHemmoroid(index){
|
|
let dt = this.dt_umum.fisiks[index].details[5].details
|
|
console.log(dt)
|
|
let ada = dt[2].chx
|
|
dt[2].chx = !ada
|
|
if(dt[2].chx){
|
|
dt[0].chx = false
|
|
dt[1].chx = false
|
|
}else{
|
|
dt[1].chx = true
|
|
}
|
|
|
|
},
|
|
changeKeseimbanganNormal(value,index){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[index].details[2].details[0].chx = value
|
|
dt.fisiks[index].details[2].details[1].chx = !value
|
|
this.dt_umum = dt
|
|
},
|
|
changeKeseimbanganAbnormal(value,index){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[index].details[2].details[1].chx = value
|
|
dt.fisiks[index].details[2].details[0].chx = !value
|
|
this.dt_umum = dt
|
|
},
|
|
changeRefleksNormal(value,k_item,index){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[index].details[k_item].details[0].chx = value
|
|
dt.fisiks[index].details[k_item].details[1].chx = !value
|
|
dt.fisiks[index].details[k_item].details[1].value = ''
|
|
this.dt_umum = dt
|
|
},
|
|
changeRefleksAda(value,k_item,index){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[index].details[k_item].details[1].chx = value
|
|
dt.fisiks[index].details[k_item].details[0].chx = !value
|
|
dt.fisiks[index].details[k_item].details[0].value = ''
|
|
this.dt_umum = dt
|
|
},
|
|
changeRefleksPathologiNormal(index){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[index].details[1].details[0].chx = !dt.fisiks[index].details[1].details[0].chx
|
|
dt.fisiks[index].details[1].details[1].value = ''
|
|
|
|
dt.fisiks[index].details[1].details[1].chx = !dt.fisiks[index].details[1].details[0].chx
|
|
this.pathologi_lain = false
|
|
this.dt_umum = dt
|
|
},
|
|
changeRefleksPathologiAda(index){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[index].details[1].details[1].chx = !dt.fisiks[index].details[1].details[1].chx
|
|
dt.fisiks[index].details[1].details[1].value = ''
|
|
|
|
dt.fisiks[index].details[1].details[0].chx = !dt.fisiks[index].details[1].details[1].chx
|
|
if(dt.fisiks[index].details[1].details[1].chx){
|
|
this.pathologi_lain = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeEkstremitasBawahNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details[1].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_ekstremitas_bawah = false
|
|
dt.fisiks[index].details[1].details[0].chx = true
|
|
this.ekstremitas_bawah_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_ekstremitas_bawah = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeEkstremitasBawahChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details[1].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'anggota_gerak_15'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_ekstremitas_bawah_lain(index)
|
|
},
|
|
changeEkstremitasAtasNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details[0].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_ekstremitas_atas = false
|
|
dt.fisiks[index].details[0].details[0].chx = true
|
|
this.ekstremitas_atas_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_ekstremitas_atas = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeEkstremitasAtasChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details[0].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'anggota_gerak_7'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_ekstremitas_atas_lain(index)
|
|
},
|
|
changeKulitNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details[0].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_kulit = false
|
|
dt.fisiks[index].details[0].details[0].chx = true
|
|
this.kulit_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_kulit = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeKulitChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details[0].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'sistem_integumen_4'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_kulit_lain(index)
|
|
},
|
|
changeJantungNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_jantung = false
|
|
dt.fisiks[index].details[0].chx = true
|
|
this.jantung_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_jantung = true
|
|
}
|
|
console.log('jantung')
|
|
console.log(this.open_listing_abnormal_jantung)
|
|
this.dt_umum = dt
|
|
},
|
|
|
|
changeParuChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details
|
|
console.log('paru2 in')
|
|
console.log(id_code)
|
|
console.log(index)
|
|
console.log(dt)
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'paru_5'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_paru_lain(index)
|
|
},
|
|
changeParuNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_paru = false
|
|
dt.fisiks[index].details[0].chx = true
|
|
this.paru_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_paru = true
|
|
}
|
|
console.log('paru')
|
|
console.log(this.open_listing_abnormal_paru)
|
|
this.dt_umum = dt
|
|
},
|
|
changeLeherNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_leher = false
|
|
dt.fisiks[index].details[0].chx = true
|
|
this.leher_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_leher = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeLeherChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'leher_5'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_leher_lain(index)
|
|
},
|
|
changeTenggorokanChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details[1].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'mukosa_rongga_mulut_9'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_tenggorokan_lain(index)
|
|
},
|
|
/*changeTenggorokanNormal(value){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[8].details[0].flag_normal = value
|
|
if(value === 'Y'){
|
|
dt.fisiks[8].details[1].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
dt.fisiks[8].details[1].details[0].chx = true
|
|
this.tenggorokan_lain = false
|
|
}else{
|
|
dt.fisiks[8].details[1].details[0].chx = false
|
|
}
|
|
this.dt_umum = dt
|
|
},*/
|
|
changeTenggorokanNormal(value){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[8].details[1].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_tenggorokan = false
|
|
dt.fisiks[8].details[1].details[0].chx = true
|
|
this.tenggorokan_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_tenggorokan = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeTenggorokanChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[8].details[1].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'mukosa_rongga_mulut_9'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_tenggorokan_lain(index)
|
|
},
|
|
/*changeMulutNormal(value){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[8].details[0].flag_normal = value
|
|
if(value === 'Y'){
|
|
dt.fisiks[8].details[0].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
dt.fisiks[8].details[0].details[0].chx = true
|
|
this.mulut_lain = false
|
|
}else{
|
|
dt.fisiks[8].details[0].details[0].chx = false
|
|
}
|
|
this.dt_umum = dt
|
|
},*/
|
|
changeMulutNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details[0].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_mulut = false
|
|
dt.fisiks[index].details[0].details[0].chx = true
|
|
this.mulut_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_mulut = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeMulutChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details[0].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'mukosa_rongga_mulut_4'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_mulut_lain(index)
|
|
},
|
|
/*changeGigiNormal(value){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[7].flag_normal = value
|
|
if(value === 'Y'){
|
|
dt.fisiks[7].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
dt.fisiks[7].details[0].chx = true
|
|
//this.gigi_lain = false
|
|
}
|
|
this.dt_umum = dt
|
|
},*/
|
|
changeGigiNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_gigi = false
|
|
dt.fisiks[index].details[0].chx = true
|
|
this.gigi_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_gigi = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeGigiChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
});
|
|
//this.true_gigi_lain()
|
|
},
|
|
changePolaNafas(value){
|
|
let dt = this.dt_umum
|
|
if(value === 'N'){
|
|
dt.fisiks[0].details[5].chx_y = true
|
|
dt.fisiks[0].details[5].chx_x = false
|
|
}
|
|
if(value === 'T'){
|
|
dt.fisiks[0].details[5].chx_y = false
|
|
dt.fisiks[0].details[5].chx_x = true
|
|
}
|
|
if(value === 'X'){
|
|
//console.log('in')
|
|
//console.log(dt.fisiks[0].details[5])
|
|
dt.fisiks[0].details[5].chx_y = false
|
|
dt.fisiks[0].details[5].chx_x = false
|
|
}
|
|
},
|
|
changeRitmeDenyutNadi(value,index){
|
|
let dt = this.dt_umum
|
|
if(value === 'N'){
|
|
dt.fisiks[index].details[3].chx_y = true
|
|
dt.fisiks[index].details[3].chx_x = false
|
|
}
|
|
if(value === 'I'){
|
|
dt.fisiks[index].details[3].chx_y = false
|
|
dt.fisiks[index].details[3].chx_x = true
|
|
}
|
|
if(value === 'A'){
|
|
dt.fisiks[index].details[3].chx_y = false
|
|
dt.fisiks[index].details[3].chx_x = false
|
|
}
|
|
},
|
|
/*changeHidungNormal(value){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[6].flag_normal = value
|
|
if(value === 'Y'){
|
|
dt.fisiks[6].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
dt.fisiks[6].details[0].chx = true
|
|
this.hidung_lain = false
|
|
}
|
|
this.dt_umum = dt
|
|
},*/
|
|
changeHidungNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_hidung = false
|
|
dt.fisiks[index].details[0].chx = true
|
|
this.hidung_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_hidung = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeHidungChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'hidung_4'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_hidung_lain(index)
|
|
},
|
|
/*changeTelingaNormal(value){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[5].flag_normal = value
|
|
if(value === 'Y'){
|
|
dt.fisiks[5].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
dt.fisiks[5].details[0].chx = true
|
|
this.telinga_lain = false
|
|
}
|
|
this.dt_umum = dt
|
|
},*/
|
|
changeTelingaNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_telinga = false
|
|
dt.fisiks[index].details[0].chx = true
|
|
this.telinga_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_telinga = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeTelingaChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'telinga_6'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_telinga_lain()
|
|
},
|
|
changeLapangChx(status,value,index){
|
|
let dt = this.dt_umum.fisiks[index].details[0]
|
|
if(status){
|
|
dt.value = value
|
|
}else{
|
|
dt.value = ''
|
|
}
|
|
console.log(dt)
|
|
},
|
|
changeMataChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'mata_10'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_mata_lain(index)
|
|
},
|
|
changeLapangNormal(value,index){
|
|
console.log(value)
|
|
|
|
let dt = this.dt_umum
|
|
console.log(dt.fisiks[index].details[0])
|
|
if(value){
|
|
dt.fisiks[index].details[0].chx_x = false
|
|
dt.fisiks[index].details[0].chx_y = true
|
|
dt.fisiks[index].details[0].value = ''
|
|
}else{
|
|
dt.fisiks[index].details[0].chx_x = true
|
|
dt.fisiks[index].details[0].chx_y = false
|
|
}
|
|
this.dt_umum = dt
|
|
console.log(dt.fisiks[index].details[0])
|
|
},
|
|
|
|
changeMataNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_mata = false
|
|
dt.fisiks[index].details[0].chx = true
|
|
this.mata_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_mata = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeKepalaChx(id_code,index){
|
|
let dt = this.dt_umum.fisiks[index].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'kepala_wajah_6'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_kepala_lain()
|
|
},
|
|
changeKepalaNormal(value,index){
|
|
let dt = this.dt_umum
|
|
//dt.fisiks[2].flag_normal = value
|
|
dt.fisiks[index].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
|
|
if(value === 'Y'){
|
|
this.open_listing_abnormal_kepala = false
|
|
dt.fisiks[index].details[0].chx = true
|
|
this.kepala_lain = false
|
|
|
|
}else{
|
|
this.open_listing_abnormal_kepala = true
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
changeKeluhanChx(id_code){
|
|
let dt = this.dt_umum.riwayats[0].details
|
|
dt.forEach(item => {
|
|
if(item.id_code === id_code)
|
|
item.chx = !item.chx
|
|
|
|
if(!item.chx && item.id_code === 'fisik_keluhan_28'){
|
|
item.value = ''
|
|
}
|
|
});
|
|
this.true_keluhan_lain()
|
|
},
|
|
changeKeluhanNormal(value){
|
|
let dt = this.dt_umum
|
|
dt.riwayats[0].flag_normal = value
|
|
if(value === 'Y'){
|
|
dt.riwayats[0].details.forEach(item => {
|
|
item.chx = false
|
|
item.value = ''
|
|
});
|
|
this.keluhan_lain = false
|
|
}
|
|
this.dt_umum = dt
|
|
},
|
|
visusDenganKoreksi() {
|
|
let ret = false;
|
|
|
|
if ((this.tkod.trim() != '20/20' && this.tkod.trim() != '20/25' && this.tkod.trim() != '') ||
|
|
(this.tkos.trim() != '20/20' && this.tkos.trim() != '20/25' && this.tkos.trim() != '') ||
|
|
(this.dkod.trim() != '20/20' && this.dkod.trim() != '20/25' && this.dkod.trim() != '') ||
|
|
(this.dkos.trim() != '20/20' && this.dkos.trim() != '20/25' && this.dkos.trim() != '')
|
|
) {
|
|
ret = true;
|
|
}
|
|
this.withCorection = ret;
|
|
return ret;
|
|
},
|
|
goToResult(sample) {
|
|
let stat_id = this.$store.state.patient.selected_station.id
|
|
let loc_id = this.$store.state.patient.selected_location.locationID
|
|
let urls = this.$store.state.patient.urls
|
|
if (sample.sampletype_name === "Pemeriksaan Fisik") {
|
|
window.location = "/one-ui/"+urls.url_fisik+"?id=" + this.url_labnumber + "&type=fisik&stat=" + stat_id + "&loc=" + loc_id
|
|
}
|
|
if (sample.groupresult_name === "Elektromedik" || sample.groupresult_name === "Audiometri" || sample.groupresult_name === "Spirometri") {
|
|
// https: //devcpone.aplikasi.web.id/one-ui/test/vuex/one-resultentry-so-electromedis-v7-cpone/?id=T2406260012&test=1675
|
|
window.location = "/one-ui/"+urls.url_electromedis+"?id=" + this.url_labnumber + "&test=" + sample.test_id + "&stat=" + stat_id + "&loc=" + loc_id
|
|
}
|
|
if (sample.groupresult_name === "USG" || sample.groupresult_name === "Rontgen") {
|
|
// https: //devcpone.aplikasi.web.id/one-ui/test/vuex/one-resultentry-so-xray-v7-cpone/?id=T2406260009&stat=7&loc=3
|
|
window.location = "/one-ui/"+urls.url_xray+"?id=" + this.url_labnumber + "&stat=" + stat_id + "&loc=" + loc_id
|
|
}
|
|
},
|
|
logout() {
|
|
window.one_logout('/one-ui/test/vuex/one-login')
|
|
},
|
|
openscanner() {
|
|
this.$store.commit("patient/update_act_scan", 'qrpatient')
|
|
this.dialog_scanner = true
|
|
},
|
|
skipAction() {
|
|
this.$store.dispatch("patient/skipaction")
|
|
},
|
|
scanSample() {
|
|
console.log("check input")
|
|
if (parseInt(this.selected_station.id) === 17) {
|
|
if (this.value_tb === 0 || this.value_bb === 0) {
|
|
this.$store.commit("patient/update_alert_msg", "Silahkan diisi, tinggi badan dan berat badan")
|
|
this.$store.commit("patient/update_alert_status", true)
|
|
} else {
|
|
this.$store.commit("patient/update_act_scan", 'scanbarcode')
|
|
this.dialog_scanner = true
|
|
}
|
|
} else if (parseInt(this.selected_station.id) === 35) {
|
|
console.log("body fat")
|
|
if (parseFloat(this.value_bf) === 0 || this.value_bf === "") {
|
|
this.$store.commit("patient/update_alert_msg", "Silahkan diisi, body fat")
|
|
this.$store.commit("patient/update_alert_status", true)
|
|
} else {
|
|
this.$store.commit("patient/update_act_scan", 'scanbarcode')
|
|
this.dialog_scanner = true
|
|
}
|
|
} else if (parseInt(this.selected_station.id) === 33) {
|
|
if ((this.tkod !== '' && this.tkos !== '') || (this.dkod !== '' && this.dkos !== '')) {
|
|
this.$store.commit("patient/update_act_scan", 'scanbarcode')
|
|
this.dialog_scanner = true
|
|
} else {
|
|
this.$store.commit("patient/update_alert_msg", "Anda lupa mengisi visus")
|
|
this.$store.commit("patient/update_alert_status", true)
|
|
}
|
|
} else {
|
|
this.$store.commit("patient/update_act_scan", 'scanbarcode')
|
|
this.dialog_scanner = true
|
|
}
|
|
|
|
},
|
|
true_keluhan_lain(){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.riwayats[0].details.forEach(item => {
|
|
if(item.id_code === 'fisik_keluhan_28'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.keluhan_lain = value
|
|
},
|
|
true_kepala_lain(){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[2].details.forEach(item => {
|
|
if(item.id_code === 'kepala_wajah_6'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.kepala_lain = value
|
|
},
|
|
true_mata_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details.forEach(item => {
|
|
if(item.id_code === 'mata_10'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.mata_lain = value
|
|
},
|
|
true_telinga_lain(){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[5].details.forEach(item => {
|
|
if(item.id_code === 'telinga_6'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.telinga_lain = value
|
|
},
|
|
true_hidung_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details.forEach(item => {
|
|
if(item.id_code === 'hidung_4'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.hidung_lain = value
|
|
},
|
|
true_mulut_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details[0].details.forEach(item => {
|
|
if(item.id_code === 'mukosa_rongga_mulut_4'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.mulut_lain = value
|
|
},
|
|
true_tenggorokan_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details[1].details.forEach(item => {
|
|
if(item.id_code === 'mukosa_rongga_mulut_9'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.tenggorokan_lain = value
|
|
},
|
|
true_leher_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details.forEach(item => {
|
|
if(item.id_code === 'leher_5'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.leher_lain = value
|
|
},
|
|
true_paru_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details.forEach(item => {
|
|
if(item.id_code === 'paru_5'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.paru_lain = value
|
|
},
|
|
true_kulit_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details[0].details.forEach(item => {
|
|
if(item.id_code === 'sistem_integumen_4'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.kulit_lain = value
|
|
},
|
|
true_ekstremitas_atas_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details[0].details.forEach(item => {
|
|
if(item.id_code === 'anggota_gerak_7'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log(value)
|
|
this.ekstremitas_atas_lain = value
|
|
},
|
|
true_ekstremitas_bawah_lain(index){
|
|
let xdt = this.dt_umum
|
|
let value = false
|
|
if(!_.isEmpty(xdt)){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
dt.fisiks[index].details[1].details.forEach(item => {
|
|
if(item.id_code === 'anggota_gerak_15'){
|
|
value = item.chx
|
|
}
|
|
|
|
});
|
|
|
|
|
|
}
|
|
console.log('ekstremitas bawah')
|
|
console.log(value)
|
|
this.ekstremitas_bawah_lain = value
|
|
},
|
|
check_normal_abdomen(index){
|
|
console.log("dasdasfaer")
|
|
let datas = this.dt_umum
|
|
let normal_abdomen = ''
|
|
console.log(datas.fisiks[index].details[0].details[0].id_code+' '+datas.fisiks[index].details[0].details[0].chx)
|
|
console.log(datas.fisiks[index].details[1].details[0].id_code+' '+datas.fisiks[index].details[1].details[0].chx)
|
|
console.log(datas.fisiks[index].details[2].details[0].id_code+' '+datas.fisiks[index].details[2].details[0].chx)
|
|
console.log(datas.fisiks[index].details[3].details[0].id_code+' '+datas.fisiks[index].details[3].details[0].chx)
|
|
console.log(datas.fisiks[index].details[4].details[0].id_code+' '+datas.fisiks[index].details[4].details[0].chx)
|
|
console.log(datas.fisiks[index].details[5].details[0].id_code+' '+datas.fisiks[index].details[5].details[0].chx )
|
|
console.log(datas.fisiks[index].details[5].details[1].id_code+' '+datas.fisiks[index].details[5].details[1].chx)
|
|
if(datas.fisiks[index].details[0].details[0].chx &&
|
|
datas.fisiks[index].details[1].details[0].chx &&
|
|
datas.fisiks[index].details[2].details[0].chx &&
|
|
datas.fisiks[index].details[3].details[0].chx &&
|
|
datas.fisiks[index].details[4].details[0].chx &&
|
|
( datas.fisiks[index].details[5].details[0].chx || datas.fisiks[index].details[5].details[1].chx)
|
|
){
|
|
normal_abdomen = true
|
|
console.log("XX")
|
|
}
|
|
|
|
if(datas.fisiks[index].details[0].details[1].chx ||
|
|
datas.fisiks[index].details[0].details[4].chx ||
|
|
datas.fisiks[index].details[0].details[2].chx ||
|
|
datas.fisiks[index].details[1].details[1].chx ||
|
|
datas.fisiks[index].details[4].details[1].details[1].chx_a_value ||
|
|
datas.fisiks[index].details[4].details[1].details[1].chx_b_value ||
|
|
datas.fisiks[index].details[4].details[1].details[0].chx_value ||
|
|
datas.fisiks[index].details[4].details[1].details[2].chx_a_value ||
|
|
datas.fisiks[index].details[4].details[1].details[2].chx_b_value ||
|
|
datas.fisiks[index].details[5].details[2].chx
|
|
){
|
|
normal_abdomen = false
|
|
console.log("YY")
|
|
}
|
|
|
|
this.normal_abdomen = normal_abdomen
|
|
},
|
|
changeAbdomenNormal(value,index){
|
|
let datas = this.dt_umum
|
|
if(value == 'Y'){
|
|
this.open_listing_abnormal_normal_abdomen = false
|
|
|
|
datas.fisiks[index].details[0].details[0].chx = true
|
|
datas.fisiks[index].details[1].details[0].chx = true
|
|
datas.fisiks[index].details[2].details[0].chx = true
|
|
datas.fisiks[index].details[3].details[0].chx = true
|
|
datas.fisiks[index].details[4].details[0].chx = true
|
|
datas.fisiks[index].details[5].details[1].chx = true
|
|
|
|
datas.fisiks[index].details[0].details[1].chx = false
|
|
datas.fisiks[index].details[0].details[4].chx = false
|
|
datas.fisiks[index].details[0].details[2].chx = false
|
|
datas.fisiks[index].details[4].details[1].details[1].chx_a_value = false
|
|
datas.fisiks[index].details[4].details[1].details[1].chx_b_value = false
|
|
datas.fisiks[index].details[4].details[1].details[0].chx_value = false
|
|
datas.fisiks[index].details[4].details[1].details[2].chx_a_value = false
|
|
datas.fisiks[index].details[4].details[1].details[2].chx_b_value = false
|
|
datas.fisiks[index].details[5].details[2].chx = false
|
|
datas.fisiks[index].details[5].details[2].value = ''
|
|
datas.fisiks[index].details[0].details[4].value = ""
|
|
}else{
|
|
datas.fisiks[index].details[0].details[0].chx = false
|
|
datas.fisiks[index].details[1].details[0].chx = false
|
|
datas.fisiks[index].details[2].details[0].chx = false
|
|
datas.fisiks[index].details[3].details[0].chx = false
|
|
datas.fisiks[index].details[4].details[0].chx = false
|
|
datas.fisiks[index].details[5].details[0].chx = false
|
|
datas.fisiks[index].details[5].details[1].chx = false
|
|
//console.log("hdeutfuefh")
|
|
this.open_listing_abnormal_normal_abdomen = true
|
|
console.log("iki")
|
|
console.log(datas.fisiks[index].details[0].details[1].chx)
|
|
}
|
|
|
|
console.log(this.open_listing_abnormal_normal_abdomen)
|
|
this.check_normal_abdomen(index)
|
|
|
|
},
|
|
exist_test_by_code(code){
|
|
let tests = this.$store.state.patient.tests
|
|
if(tests.length > 0){
|
|
tests.forEach(item => {
|
|
if(item.test_code === code){
|
|
return true
|
|
}
|
|
});
|
|
}
|
|
return false
|
|
}
|
|
|
|
},
|
|
computed: {
|
|
loading_data: {
|
|
get() {
|
|
return this.$store.state.patient.loading_data
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_loading_data", val)
|
|
}
|
|
},
|
|
riwayats: {
|
|
get() {
|
|
return this.$store.state.patient.riwayats
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_riwayats", val)
|
|
}
|
|
},
|
|
dt_k3s: {
|
|
get() {
|
|
return this.$store.state.patient.dt_k3s
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_dt_k3s", val)
|
|
}
|
|
},
|
|
station_id: {
|
|
get() {
|
|
return this.$store.state.patient.station_id
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_station_id", val)
|
|
}
|
|
},
|
|
location_id: {
|
|
get() {
|
|
return this.$store.state.patient.location_id
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_location_id", val)
|
|
}
|
|
},
|
|
labnumber: {
|
|
get() {
|
|
return this.$store.state.patient.url_labnumber
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_url_labnumber", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_normal_abdomen: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_normal_abdomen
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_normal_abdomen", val)
|
|
}
|
|
},
|
|
normal_abdomen: {
|
|
get() {
|
|
return this.$store.state.patient.normal_abdomen
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_normal_abdomen", val)
|
|
}
|
|
},
|
|
dt_patient: {
|
|
get() {
|
|
return this.$store.state.patient.dt_patient
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_dt_patient", val)
|
|
}
|
|
},
|
|
dt_keluhan: {
|
|
get() {
|
|
return this.$store.state.patient.dt_keluhan
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_dt_keluhan", val)
|
|
}
|
|
},
|
|
keluhan_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
if(!_.isEmpty(dt)){
|
|
return dt.riwayats[0].flag_normal
|
|
}else
|
|
return 'N'
|
|
},
|
|
kepala_isnormalx(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
if(!_.isEmpty(dt)){
|
|
let xval = 'X'
|
|
if(dt.fisiks[2].details[0].chx)
|
|
xval = 'Y'
|
|
|
|
let chx_n = []
|
|
dt.fisiks[2].details.forEach(item => {
|
|
if(item.chx && item.is_normal != 'Y'){
|
|
chx_n.push(item)
|
|
}
|
|
});
|
|
console.log('chn')
|
|
console.log(chx_n)
|
|
if(xval == 'X' & chx_n.length > 0){
|
|
xval = 'N'
|
|
}
|
|
return xval
|
|
}else
|
|
return 'X'
|
|
},
|
|
mata_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
if(!_.isEmpty(dt)){
|
|
return dt.fisiks[3].flag_normal
|
|
}else
|
|
return 'N'
|
|
},
|
|
lapang_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
let x = dt.fisiks[4].details[0].chx_x
|
|
let y = dt.fisiks[4].details[0].chx_y
|
|
console.log(dt)
|
|
let rtn = 'X'
|
|
if(x)
|
|
rtn = 'N'
|
|
|
|
if(y)
|
|
rtn = 'Y'
|
|
|
|
console.log(rtn)
|
|
|
|
return rtn
|
|
},
|
|
telinga_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
if(!_.isEmpty(dt)){
|
|
console.log('telinga')
|
|
console.log('Y')
|
|
return dt.fisiks[5].flag_normal
|
|
}else
|
|
return 'N';console.log('telinga');console.log('N')
|
|
},
|
|
hidung_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
if(!_.isEmpty(dt)){
|
|
return dt.fisiks[6].flag_normal
|
|
}else
|
|
return 'N'
|
|
},
|
|
gigi_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
if(!_.isEmpty(dt)){
|
|
return dt.fisiks[7].flag_normal
|
|
}else
|
|
return 'N'
|
|
},
|
|
mulut_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
let details = dt.fisiks[8].details[0].details
|
|
console.log(details)
|
|
|
|
if(details[0].chx)
|
|
return 'Y'
|
|
else
|
|
return 'N'
|
|
},
|
|
tenggorokan_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
let details = dt.fisiks[8].details[1].details
|
|
console.log(details)
|
|
|
|
if(details[0].chx)
|
|
return 'Y'
|
|
else
|
|
return 'N'
|
|
},
|
|
smell_isnormal(){
|
|
let dt = this.$store.state.patient.dt_umum
|
|
console.log(dt)
|
|
let arr_val = []
|
|
if(!_.isEmpty(dt)){
|
|
return dt.fisiks[18].flag_normal
|
|
}else
|
|
return 'N'
|
|
},
|
|
open_listing_abnormal_kepala: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_kepala
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_kepala", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_mata: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_mata
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_mata", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_telinga: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_telinga
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_telinga", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_hidung: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_hidung
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_hidung", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_gigi: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_gigi
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_gigi", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_mulut: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_mulut
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_mulut", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_tenggorokan: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_tenggorokan
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_tenggorokan", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_leher: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_leher
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_leher", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_paru: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_paru
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_paru", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_kulit: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_kulit
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_kulit", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_ekstremitas_atas: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_ekstremitas_atas
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_ekstremitas_atas", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_ekstremitas_bawah: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_ekstremitas_bawah
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_ekstremitas_bawah", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_tonus: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_tonus
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_tonus", val)
|
|
}
|
|
},
|
|
open_listing_abnormal_smell: {
|
|
get() {
|
|
return this.$store.state.patient.open_listing_abnormal_smell
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_open_listing_abnormal_smell", val)
|
|
}
|
|
},
|
|
dt_umum: {
|
|
get() {
|
|
return this.$store.state.patient.dt_umum
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_dt_umum", val)
|
|
}
|
|
},
|
|
tests: {
|
|
get() {
|
|
return this.$store.state.patient.tests
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_tests", val)
|
|
}
|
|
},
|
|
datas: {
|
|
get() {
|
|
return this.$store.state.patient.datas
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_datas", val)
|
|
}
|
|
},
|
|
glucoses: {
|
|
get() {
|
|
return this.$store.state.patient.glucoses
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_glucoses", val)
|
|
}
|
|
},
|
|
loc_id() {
|
|
return this.$store.state.patient.loc_id
|
|
},
|
|
stat_id() {
|
|
return this.$store.state.patient.station_id
|
|
},
|
|
url_labnumber() {
|
|
return this.$store.state.patient.url_labnumber
|
|
},
|
|
btwrn: {
|
|
get() {
|
|
return this.$store.state.patient.btwrn
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_btwrn", val)
|
|
}
|
|
},
|
|
dkos: {
|
|
get() {
|
|
return this.$store.state.patient.dkos
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_dkos", val)
|
|
}
|
|
},
|
|
dkod: {
|
|
get() {
|
|
return this.$store.state.patient.dkod
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_dkod", val)
|
|
}
|
|
},
|
|
tkos: {
|
|
get() {
|
|
return this.$store.state.patient.tkos
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_tkos", val)
|
|
}
|
|
},
|
|
tkod: {
|
|
get() {
|
|
return this.$store.state.patient.tkod
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_tkod", val)
|
|
}
|
|
},
|
|
visusAdd: {
|
|
get() {
|
|
return this.$store.state.patient.visusAdd
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_visusAdd", val)
|
|
}
|
|
},
|
|
value_tb: {
|
|
get() {
|
|
return this.$store.state.patient.value_tb
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_value_tb", val)
|
|
}
|
|
},
|
|
value_bb: {
|
|
get() {
|
|
return this.$store.state.patient.value_bb
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_value_bb", val)
|
|
}
|
|
},
|
|
value_bf: {
|
|
get() {
|
|
return this.$store.state.patient.value_bf
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_value_bf", val)
|
|
}
|
|
},
|
|
status_done() {
|
|
return this.$store.state.patient.status_done
|
|
},
|
|
isdone() {
|
|
return this.$store.state.patient.isdone
|
|
},
|
|
stations() {
|
|
return this.$store.state.patient.stations
|
|
},
|
|
selected_station: {
|
|
get() {
|
|
return this.$store.state.patient.selected_station
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_selected_station", val)
|
|
this.$store.dispatch("patient/getLocation", val.id)
|
|
}
|
|
},
|
|
locations() {
|
|
return this.$store.state.patient.locations
|
|
},
|
|
selected_location: {
|
|
get() {
|
|
return this.$store.state.patient.selected_location
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_selected_location", val)
|
|
}
|
|
},
|
|
data_patient() {
|
|
return this.$store.state.patient.data_patient
|
|
},
|
|
dialog_scanner: {
|
|
get() {
|
|
return this.$store.state.patient.dialog_scanner
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_dialog_scanner", val)
|
|
}
|
|
},
|
|
|
|
withCorection: {
|
|
get() {
|
|
return this.$store.state.patient.withCorection
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_withCorection", val)
|
|
}
|
|
},
|
|
odSph: {
|
|
get() {
|
|
return this.$store.state.patient.odSph
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_odSph", val)
|
|
}
|
|
},
|
|
odCyl: {
|
|
get() {
|
|
return this.$store.state.patient.odCyl
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_odCyl", val)
|
|
}
|
|
},
|
|
odX: {
|
|
get() {
|
|
return this.$store.state.patient.odX
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_odX", val)
|
|
}
|
|
},
|
|
osSph: {
|
|
get() {
|
|
return this.$store.state.patient.osSph
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_osSph", val)
|
|
}
|
|
},
|
|
osCyl: {
|
|
get() {
|
|
return this.$store.state.patient.osCyl
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_osCyl", val)
|
|
}
|
|
},
|
|
osX: {
|
|
get() {
|
|
return this.$store.state.patient.osX
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_osX", val)
|
|
}
|
|
},
|
|
colorBlindNumber: {
|
|
get() {
|
|
return this.$store.state.patient.colorBlindNumber
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_colorBlindNumber", val)
|
|
}
|
|
},
|
|
dialogError: {
|
|
get() {
|
|
return this.$store.state.patient.dialogError
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_dialogError", val)
|
|
}
|
|
},
|
|
errorMsg: {
|
|
get() {
|
|
return this.$store.state.patient.errorMsg
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_errorMsg", val)
|
|
}
|
|
},
|
|
data_patient() {
|
|
return this.$store.state.patient.data_patient
|
|
},
|
|
data_requirement() {
|
|
return this.$store.state.patient.data_requirement
|
|
},
|
|
data_packet() {
|
|
return this.$store.state.patient.data_packet
|
|
},
|
|
data_tests() {
|
|
return this.$store.state.patient.data_tests
|
|
},
|
|
data_sample_lab() {
|
|
return this.$store.state.patient.data_sample_lab
|
|
},
|
|
data_sample_radiodiagnostic() {
|
|
return this.$store.state.patient.data_sample_radiodiagnostic
|
|
},
|
|
data_sample_electromedic() {
|
|
return this.$store.state.patient.data_sample_electromedic
|
|
},
|
|
data_sample_other() {
|
|
return this.$store.state.patient.data_sample_other
|
|
},
|
|
keluhan_lain: {
|
|
get() {
|
|
return this.$store.state.patient.keluhan_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_keluhan_lain", val)
|
|
}
|
|
},
|
|
kepala_lain: {
|
|
get() {
|
|
return this.$store.state.patient.kepala_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_kepala_lain", val)
|
|
}
|
|
},
|
|
mulut_lain: {
|
|
get() {
|
|
return this.$store.state.patient.mulut_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_mulut_lain", val)
|
|
}
|
|
},
|
|
tenggorokan_lain: {
|
|
get() {
|
|
return this.$store.state.patient.tenggorokan_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_tenggorokan_lain", val)
|
|
}
|
|
},
|
|
mata_lain: {
|
|
get() {
|
|
return this.$store.state.patient.mata_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_mata_lain", val)
|
|
}
|
|
},
|
|
telinga_lain: {
|
|
get() {
|
|
return this.$store.state.patient.telinga_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_telinga_lain", val)
|
|
}
|
|
},
|
|
hidung_lain: {
|
|
get() {
|
|
return this.$store.state.patient.hidung_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_hidung_lain", val)
|
|
}
|
|
},
|
|
leher_lain: {
|
|
get() {
|
|
return this.$store.state.patient.leher_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_leher_lain", val)
|
|
}
|
|
},
|
|
paru_lain: {
|
|
get() {
|
|
return this.$store.state.patient.paru_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_paru_lain", val)
|
|
}
|
|
},
|
|
kulit_lain: {
|
|
get() {
|
|
return this.$store.state.patient.kulit_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_kulit_lain", val)
|
|
}
|
|
},
|
|
ekstremitas_atas_lain: {
|
|
get() {
|
|
return this.$store.state.patient.ekstremitas_atas_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_ekstremitas_atas_lain", val)
|
|
}
|
|
},
|
|
ekstremitas_bawah_lain: {
|
|
get() {
|
|
return this.$store.state.patient.ekstremitas_bawah_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_ekstremitas_bawah_lain", val)
|
|
}
|
|
},
|
|
pathologi_lain: {
|
|
get() {
|
|
return this.$store.state.patient.pathologi_lain
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_pathologi_lain", val)
|
|
}
|
|
},
|
|
tab_riwayat_k3: {
|
|
get() {
|
|
return this.$store.state.patient.tab_riwayat_k3
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_tab_riwayat_k3", val)
|
|
}
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
|
|
selected_riwayat:{},
|
|
dialog_detail:false,
|
|
btn_before:true,
|
|
btn_next:false,
|
|
r_templates:[
|
|
{title:'RIWAYAT PENYAKIT', allow_normal : true,alias:'RIWAYAT PENYAKIT DAN ALERGI',show_section:false, section:['Allergi'],childs:[
|
|
'fisik_penyakit_1',
|
|
'fisik_penyakit_2',
|
|
'fisik_penyakit_5',
|
|
'fisik_penyakit_8',
|
|
'fisik_penyakit_9',
|
|
'fisik_penyakit_11',
|
|
'fisik_penyakit_74',
|
|
'fisik_penyakit_14',
|
|
'fisik_penyakit_19',
|
|
'fisik_penyakit_20',
|
|
'fisik_penyakit_23',
|
|
'fisik_penyakit_15',
|
|
'fisik_penyakit_25',
|
|
'fisik_penyakit_26',
|
|
'fisik_penyakit_31',
|
|
'fisik_penyakit_32',
|
|
'fisik_penyakit_40',
|
|
'fisik_penyakit_38',
|
|
'fisik_penyakit_39',
|
|
'fisik_penyakit_43',
|
|
'fisik_penyakit_47',
|
|
'fisik_penyakit_44',
|
|
'fisik_penyakit_46',
|
|
'fisik_penyakit_48',
|
|
'fisik_penyakit_57',
|
|
'fisik_penyakit_58',
|
|
'fisik_penyakit_65',
|
|
'fisik_penyakit_67',
|
|
'fisik_penyakit_66',
|
|
'fisik_penyakit_69',
|
|
'fisik_penyakit_71',
|
|
'fisik_penyakit_70',
|
|
'fisik_penyakit_22',
|
|
'fisik_penyakit_82',
|
|
'fisik_penyakit_60',
|
|
'fisik_penyakit_62',
|
|
'fisik_penyakit_61',
|
|
'fisik_penyakit_63'
|
|
]},
|
|
{title:'RIWAYAT POBIA', allow_normal : false,alias:'RIWAYAT POBIA',childs:[
|
|
'fisik_pobia_2',
|
|
'fisik_pobia_3',
|
|
'fisik_pobia_4',
|
|
'fisik_pobia_5',
|
|
'fisik_pobia_6',
|
|
'fisik_pobia_7',
|
|
'fisik_pobia_8'
|
|
]},
|
|
{title:'RIWAYAT KONSUMSI OBAT TERATUR',allow_normal : false,alias:'RIWAYAT KONSUMSI OBAT TERATUR',childs:[
|
|
'fisik_konsumsiobatteratur_1',
|
|
'fisik_konsumsiobatteratur_2',
|
|
'fisik_konsumsiobatteratur_3'
|
|
]},
|
|
{title:'RIWAYAT KEBIASAAN HIDUP', allow_normal : false,alias:'RIWAYAT KEBIASAAN HIDUP',section:[],show_section:true,
|
|
childs:[
|
|
'fisik_kebiasaanhidup_1',
|
|
'fisik_kebiasaanhidup_3',
|
|
'fisik_kebiasaanhidup_4',
|
|
'fisik_kebiasaanhidup_5',
|
|
'fisik_kebiasaanhidup_6',
|
|
'fisik_kebiasaanhidup_8'
|
|
]
|
|
},
|
|
{title:'RIWAYAT PENYAKIT KELUARGA',alias:'RIWAYAT PENYAKIT KELUARGA'},
|
|
{title:'RIWAYAT IMUNISASI', allow_normal : false,alias:'RIWAYAT IMUNISASI',
|
|
childs:[
|
|
'fisik_riwayatimunisasi_1_details_1',
|
|
'fisik_riwayatimunisasi_1_details_2',
|
|
'fisik_riwayatimunisasi_2_details_1',
|
|
'fisik_riwayatimunisasi_2_details_2',
|
|
'fisik_riwayatimunisasi_3_details_1',
|
|
'fisik_riwayatimunisasi_3_details_2',
|
|
'fisik_riwayatimunisasi_4_details_1',
|
|
'fisik_riwayatimunisasi_4_details_2',
|
|
'fisik_riwayatimunisasi_5_details_1',
|
|
'fisik_riwayatimunisasi_5_details_2'
|
|
]
|
|
},
|
|
],
|
|
/*keluhan_lain:false,
|
|
kepala_lain:false,
|
|
mulut_lain:false,
|
|
tenggorokan_lain:false,
|
|
mata_lain:false,
|
|
telinga_lain:false,
|
|
hidung_lain:false,
|
|
leher_lain:false,
|
|
paru_lain:false,
|
|
kulit_lain:false,
|
|
ekstremitas_atas_lain:false,
|
|
ekstremitas_bawah_lain:false,*/
|
|
imageSrc: './images/undraw_the_search_s0xf.png',
|
|
items2: [{
|
|
icon: 'assignment',
|
|
iconClass: 'blue white--text',
|
|
title: 'Vacation itinerary',
|
|
subtitle: 'Jan 20, 2014'
|
|
},
|
|
{
|
|
icon: 'call_to_action',
|
|
iconClass: 'amber white--text',
|
|
title: 'Kitchen remodel',
|
|
subtitle: 'Jan 10, 2014'
|
|
}
|
|
],
|
|
items: [{
|
|
action: 'healing',
|
|
title: 'Paket Pria 2024',
|
|
items: [{
|
|
title: 'List Item'
|
|
},
|
|
{
|
|
title: 'List Item'
|
|
},
|
|
{
|
|
title: 'List Item'
|
|
}
|
|
]
|
|
}]
|
|
}
|
|
}
|
|
})
|
|
</script>
|
|
<style>
|
|
[v-cloak] {
|
|
display: none
|
|
}
|
|
|
|
.left {}
|
|
|
|
.right {}
|
|
</style>
|
|
</body>
|
|
|
|
</html>
|