Files
FE_CPONE/test/vuex/cpone-resultentry-other-fisik-mobile--/index.php
2026-04-27 10:13:31 +07:00

2906 lines
150 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>
<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>
{{dt_umum.length}}
<v-card v-if="!_.isEmpty(dt_umum) && !btn_next" 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" 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</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'" 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>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="dt_umum.fisiks[0].details[0].value_x"
:suffix="dt_umum.fisiks[0].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="dt_umum.fisiks[0].details[0].value_y"
:suffix="dt_umum.fisiks[0].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="dt_umum.fisiks[0].details[2].value"
:suffix="dt_umum.fisiks[0].details[2].unit"
></v-text-field>
</v-flex>
<v-flex xs6 class="pl-2 pr-2">
<!--<v-layout row>
<v-flex class="pa-1" xs5>
<v-checkbox
v-model="dt_umum.fisiks[0].details[3].chx_y"
label="Reguler"
style="font-size: 0.8em!important;"
></v-checkbox>
</v-flex>
<v-flex class="pa-1" xs7>
<v-checkbox
v-model="dt_umum.fisiks[0].details[3].chx_x"
label="Ireguler"
style="font-size: 0.8em!important;"
></v-checkbox>
</v-flex>
</v-layout>-->
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[0].details[3].chx_y && !dt_umum.fisiks[0].details[3].chx_x" @click="changeRitmeDenyutNadi('N')" block>Reguler</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[0].details[3].chx_y" @click="changeRitmeDenyutNadi('I')" color="error" block>Reguler</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[0].details[3].chx_x" @click="changeRitmeDenyutNadi('A')" 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="dt_umum.fisiks[0].details[4].value"
:suffix="dt_umum.fisiks[0].details[4].unit"
></v-text-field>
</v-flex>
<v-flex xs6 class="pl-2 pr-2">
<!--<v-layout row>
<v-flex class="pa-1" xs5>
<v-checkbox
style="font-size: 0.8em!important;"
v-model="dt_umum.fisiks[0].details[4].chx_y"
label="Normal"
></v-checkbox>
</v-flex>
<v-flex class="pa-1" xs7>
<v-checkbox
style="font-size: 0.8em!important;"
v-model="dt_umum.fisiks[0].details[4].chx_x"
label="Tidak Normal"
></v-checkbox>
</v-flex>
</v-layout>-->
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[0].details[5].chx_x === false &&dt_umum.fisiks[0].details[5].chx_y === false" @click="changePolaNafas('N')" block>Normal</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[0].details[5].chx_y" @click="changePolaNafas('T')" color="error" block>Normal</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[0].details[5].chx_x" @click="changePolaNafas('X')" color="error" block>Tidak Normal</v-btn>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[2].details[0].chx" @click="changeKepalaNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[2].details[0].chx" @click="changeKepalaNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_kepala" @click="changeKepalaNormal('N')" 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 dt_umum.fisiks[2].details" xs12>
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeKepalaChx(item.id_code)" 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)" 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="dt_umum.fisiks[2].details[4].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[3].details[0].chx" @click="changeMataNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[3].details[0].chx" @click="changeMataNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_mata" @click="changeMataNormal('N')" 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 dt_umum.fisiks[3].details" xs12>
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeMataChx(item.id_code)" 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)" 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="dt_umum.fisiks[3].details[9].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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)" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="lapang_isnormal === 'Y'" @click="changeLapangNormal(true)" 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)" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="lapang_isnormal === 'N'" @click="changeLapangNormal(false)" 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="dt_umum.fisiks[4].details[0].value.toLowerCase() !== 'menyempit'" @click="changeLapangChx(true,'Menyempit')" block>Menyempit</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[4].details[0].value.toLowerCase() === 'menyempit'" @click="changeLapangChx(false,'Menyempit')" color="error" block>Menyempit</v-btn>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[5].details[0].chx" @click="changeTelingaNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[5].details[0].chx" @click="changeTelingaNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_telinga" @click="changeTelingaNormal('N')" 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 dt_umum.fisiks[5].details" xs12>
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeTelingaChx(item.id_code)" 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)" 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="dt_umum.fisiks[5].details[5].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[6].details[0].chx" @click="changeHidungNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[6].details[0].chx" @click="changeHidungNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_hidung" @click="changeHidungNormal('N')" 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 dt_umum.fisiks[6].details" xs12>
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeHidungChx(item.id_code)" 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)" 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="dt_umum.fisiks[6].details[3].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[7].details[0].chx" @click="changeGigiNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[7].details[0].chx" @click="changeGigiNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_gigi" @click="changeGigiNormal('N')" 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 dt_umum.fisiks[7].details" xs12>
<v-btn style="font-size: 0.8em!important;" v-if="item.is_normal === 'N' && item.chx" @click="changeGigiChx(item.id_code)" 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)" block>{{item.label}}</v-btn>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[8].details[0].details[0].chx" @click="changeMulutNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[8].details[0].details[0].chx" @click="changeMulutNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_mulut" @click="changeMulutNormal('N')" 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 dt_umum.fisiks[8].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)" 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)" 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="dt_umum.fisiks[8].details[0].details[3].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[8].details[1].details[0].chx" @click="changeTenggorokanNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[8].details[1].details[0].chx" @click="changeTenggorokanNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_tenggorokan" @click="changeTenggorokanNormal('N')" 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 dt_umum.fisiks[8].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)" 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)" 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="dt_umum.fisiks[8].details[1].details[4].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[9].details[0].chx" @click="changeLeherNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[9].details[0].chx" @click="changeLeherNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_leher" @click="changeLeherNormal('N')" 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 dt_umum.fisiks[9].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)" 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)" 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="dt_umum.fisiks[9].details[5].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="normal_abdomen" @click="changeAbdomenNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_normal_abdomen" @click="changeAbdomenNormal('N')" 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>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[0].details[1].chx" @click="dt_umum.fisiks[13].details[0].details[1].chx = true" block>{{dt_umum.fisiks[13].details[0].details[1].label}}</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[0].details[1].chx" @click="dt_umum.fisiks[13].details[0].details[1].chx = false" color="error" block>{{dt_umum.fisiks[13].details[0].details[1].label}}</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[0].details[2].chx" @click="dt_umum.fisiks[13].details[0].details[2].chx = true" block>{{dt_umum.fisiks[13].details[0].details[2].label}}</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[0].details[2].chx" @click="dt_umum.fisiks[13].details[0].details[2].chx = false" color="error" block>{{dt_umum.fisiks[13].details[0].details[2].label}}</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[1].details[1].chx" @click="dt_umum.fisiks[13].details[1].details[1].chx = true" block>Bising Usus Meningkat</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[1].details[1].chx" @click="dt_umum.fisiks[13].details[1].details[1].chx = false" color="error" block>Bising Usus Meningkat</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[4].details[1].details[1].chx_a_value" @click="changeInguinal('D')" block>Hernia Inguinal (D)</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[4].details[1].details[1].chx_a_value" @click="changeInguinal('D')" color="error" block>Hernia Inguinal (D)</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[4].details[1].details[1].chx_b_value" @click="changeInguinal('S')" block>Hernia Inguinal (S)</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[4].details[1].details[1].chx_b_value" @click="changeInguinal('S')" color="error" block>Hernia Inguinal (S)</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[4].details[1].details[0].chx_value" @click="changeUmbilukus()" block>Hernia Umbilikus</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[4].details[1].details[0].chx_value" @click="changeUmbilukus()" color="error" block>Hernia Umbilikus</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[4].details[1].details[2].chx_a_value" @click="changeScrotum('D')" block>Hernia Scrotum (D)</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[4].details[1].details[2].chx_a_value" @click="dt_umum.fisiks[13].details[4].details[1].details[2].chx_a_value = false" color="error" block>Hernia Scrotum (D)</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[4].details[1].details[2].chx_b_value" @click="dt_umum.fisiks[13].details[4].details[1].details[2].chx_b_value = true" block>Hernia Scrotum (S)</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[4].details[1].details[2].chx_b_value" @click="changeScrotum('D')" color="error" block>Hernia Scrotum (S)</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[5].details[2].chx" @click="dt_umum.fisiks[13].details[5].details[2].chx = true" block>Hemorrhoid</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[5].details[2].chx" @click="dt_umum.fisiks[13].details[5].details[2].chx = false" color="error" block>Hemorrhoid</v-btn>
</v-flex>
<v-flex xs12>
<v-btn style="font-size: 0.8em!important;" v-if="!dt_umum.fisiks[13].details[0].details[4].chx" @click="changeAbdomenLain(true)" block>{{dt_umum.fisiks[13].details[0].details[4].label}}</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[13].details[0].details[4].chx" @click="changeAbdomenLain(false)" color="error" block>{{dt_umum.fisiks[13].details[0].details[4].label}}</v-btn>
</v-flex>
</v-layout>
<v-layout v-if="dt_umum.fisiks[13].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="dt_umum.fisiks[13].details[0].details[4].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[11].details[0].chx" @click="changeParuNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[11].details[0].chx" @click="changeParuNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_paru" @click="changeParuNormal('N')" 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 v-for="item in dt_umum.fisiks[11].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)" 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)" 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="dt_umum.fisiks[11].details[4].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[14].details[0].details[0].chx" @click="changeKulitNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[14].details[0].details[0].chx" @click="changeKulitNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_kulit" @click="changeKulitNormal('N')" 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 dt_umum.fisiks[14].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)" 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)" 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="dt_umum.fisiks[14].details[0].details[3].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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">Ekstrimitas Atas</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="!dt_umum.fisiks[16].details[0].details[0].chx" @click="changeEkstremitasAtasNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[16].details[0].details[0].chx" @click="changeEkstremitasAtasNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_ekstremitas_atas" @click="changeEkstremitasAtasNormal('N')" 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 dt_umum.fisiks[16].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)" 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)" 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="dt_umum.fisiks[16].details[0].details[6].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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">Ekstrimitas Bawah</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="!dt_umum.fisiks[16].details[1].details[0].chx" @click="changeEkstremitasBawahNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[16].details[1].details[0].chx" @click="changeEkstremitasBawahNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_ekstremitas_bawah" @click="changeEkstremitasBawahNormal('N')" 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 dt_umum.fisiks[16].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)" 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)" 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="dt_umum.fisiks[16].details[1].details[5].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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">Refleks pathologis</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="!dt_umum.fisiks[17].details[1].details[0].chx" @click="changeRefleksPathologiNormal(true)" block>TIDAK ADA</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[17].details[1].details[0].chx" @click="changeRefleksPathologiNormal(false)" 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="!dt_umum.fisiks[17].details[1].details[1].chx" @click="changeRefleksPathologiAda(true)" block>ADA</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[17].details[1].details[1].chx" @click="changeRefleksPathologiAda(false)" block color="error">ADA</v-btn>
</v-flex>
</v-layout>
<!--<v-layout v-if="dt_umum.fisiks[17].details[1].details[0].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="dt_umum.fisiks[17].details[1].details[0].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>-->
<v-layout v-if="dt_umum.fisiks[17].details[1].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="dt_umum.fisiks[17].details[1].details[1].value"
></v-text-field>
</v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-card>
<v-layout v-if="!_.isEmpty(dt_umum) && btn_next" class="mt-3 mb-3" row>
<v-flex xs12>
<v-divider></v-divider>
<h4 class="mt-3">OPTIONAL</h4>
</v-flex>
</v-layout>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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">Keseimbangan dan koordinasi</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="!dt_umum.fisiks[17].details[2].details[0].chx" @click="changeKeseimbanganNormal(true)" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[17].details[2].details[0].chx" @click="changeKeseimbanganNormal(false)" 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="!dt_umum.fisiks[17].details[2].details[1].chx" @click="changeKeseimbanganAbnormal(true)" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[17].details[2].details[1].chx" @click="changeKeseimbanganAbnormal(false)" block color="error">ABNORMAL</v-btn>
</v-flex>
</v-layout>
</v-card>
<v-card v-if="!_.isEmpty(dt_umum) && btn_next" 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="!dt_umum.fisiks[18].details[0].details[0].chx" @click="changeSmellNormal('Y')" block>NORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="dt_umum.fisiks[18].details[0].details[0].chx" @click="changeSmellNormal('Y')" 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')" block>ABNORMAL</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="open_listing_abnormal_smell" @click="changeSmellNormal('N')" 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 dt_umum.fisiks[18].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)" 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)" block>{{item.label}}</v-btn>
</v-flex>
</v-layout>
</v-card>
<v-layout v-if="!_.isEmpty(dt_umum) && btn_next" 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="!_.isEmpty(dt_umum) && btn_next" v-for="(test,k_test) in dt_umum.fisiks[19].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)" block>{{detail.label}}</v-btn>
<v-btn style="font-size: 0.8em!important;" v-if="detail.chx" @click="changeLBPChx(false,k_test,k_detail)" block color="error">{{detail.label}}</v-btn>
</v-flex>
</v-layout>
</v-card>
</v-card-text>
<v-divider v-if="!_.isEmpty(data_patient)"></v-divider>
<v-card-actions>
<v-btn v-if="!btn_next" @click="btn_next = true" block text color="primary">Lanjutkan</v-btn>
<v-btn v-if="btn_next" @click="btn_next = false" block text color="primary">Kembali</v-btn>
<v-spacer v-if="btn_next"></v-spacer>
<v-btn dark v-if="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: {
SaveResult(){
let trx = this.datas
let dt = this.dt_umum
let prm = trx
prm.act = trx.template_name;
this.$store.dispatch("patient/savefisik", {
template: trx.template_name,
trx: trx,
trx_numbering: this.dt_patient.ordernumber,
riwayats: dt.riwayats,
fisiks: dt.fisiks,
umum_saran: dt.umum_saran,
konsul: dt.konsul,
k3s: dt.k3s,
act: trx.template_name,
action: "save"
});
},
changeParentHernia(){
let dt_umum = this.dt_umum
dt_umum.fisiks[13].details[4].details[1].chx = false
console.log(dt_umum.fisiks[13].details[4])
if(
dt_umum.fisiks[13].details[4].details[1].details[0].chx_value ||
dt_umum.fisiks[13].details[4].details[1].details[2].chx_a_value ||
dt_umum.fisiks[13].details[4].details[1].details[2].chx_b_value ||
dt_umum.fisiks[13].details[4].details[1].details[1].chx_a_value ||
dt_umum.fisiks[13].details[4].details[1].details[1].chx_b_value
){
dt_umum.fisiks[13].details[4].details[1].chx = true
}
},
changeUmbilukus(){
let dt_umum = this.dt_umum
dt_umum.fisiks[13].details[4].details[1].details[0].chx_value = !dt_umum.fisiks[13].details[4].details[1].details[0].chx_value
this.changeParentHernia()
},
changeScrotum(value){
let dt_umum = this.dt_umum
if(value === 'D'){
dt_umum.fisiks[13].details[4].details[1].details[2].chx_a_value = !dt_umum.fisiks[13].details[4].details[1].details[2].chx_a_value
}else{
dt_umum.fisiks[13].details[4].details[1].details[2].chx_b_value = !dt_umum.fisiks[13].details[4].details[1].details[2].chx_b_value
}
this.changeParentHernia()
},
changeInguinal(value){
let dt_umum = this.dt_umum
if(value === 'D'){
dt_umum.fisiks[13].details[4].details[1].details[1].chx_a_value = !dt_umum.fisiks[13].details[4].details[1].details[1].chx_a_value
}else{
dt_umum.fisiks[13].details[4].details[1].details[1].chx_b_value = !dt_umum.fisiks[13].details[4].details[1].details[1].chx_b_value
}
this.changeParentHernia()
},
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){
let dt = this.dt_umum
let inspected = 'N'
dt.fisiks[19].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[19].is_inspected = inspected
},
changeSmellNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[18].details[0].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_smell = false
dt.fisiks[18].details[0].details[0].chx = true
}else{
this.open_listing_abnormal_smell = true
}
this.dt_umum = dt
console.log(dt)
},
changeSmellChx(id_code){
let dt = this.dt_umum.fisiks[18].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[18].is_inspected = inspected
//this.true_gigi_lain()
},
changeKeseimbanganNormal(value){
let dt = this.dt_umum
dt.fisiks[17].details[2].details[0].chx = value
dt.fisiks[17].details[2].details[1].chx = !value
this.dt_umum = dt
},
changeKeseimbanganAbnormal(value){
let dt = this.dt_umum
dt.fisiks[17].details[2].details[1].chx = value
dt.fisiks[17].details[2].details[0].chx = !value
this.dt_umum = dt
},
changeRefleksPathologiNormal(value){
let dt = this.dt_umum
dt.fisiks[17].details[1].details[0].chx = value
dt.fisiks[17].details[1].details[1].chx = !value
dt.fisiks[17].details[1].details[1].value = ''
this.dt_umum = dt
},
changeRefleksPathologiAda(value){
let dt = this.dt_umum
dt.fisiks[17].details[1].details[1].chx = value
dt.fisiks[17].details[1].details[0].chx = !value
dt.fisiks[17].details[1].details[0].value = ''
this.dt_umum = dt
},
changeEkstremitasBawahNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[16].details[1].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_ekstremitas_bawah = false
dt.fisiks[16].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){
let dt = this.dt_umum.fisiks[16].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()
},
changeEkstremitasAtasNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[16].details[0].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_ekstremitas_atas = false
dt.fisiks[16].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){
let dt = this.dt_umum.fisiks[16].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()
},
changeKulitNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[14].details[0].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_kulit = false
dt.fisiks[14].details[0].details[0].chx = true
this.kulit_lain = false
}else{
this.open_listing_abnormal_kulit = true
}
this.dt_umum = dt
},
changeKulitChx(id_code){
let dt = this.dt_umum.fisiks[14].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()
},
changeJantungNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[11].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_paru = false
dt.fisiks[11].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
},
changeParuChx(id_code){
let dt = this.dt_umum.fisiks[11].details
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()
},
changeParuNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[11].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_paru = false
dt.fisiks[11].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
},
changeParuChx(id_code){
let dt = this.dt_umum.fisiks[11].details
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()
},
changeParuNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[11].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_paru = false
dt.fisiks[11].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
},
changeParuChx(id_code){
let dt = this.dt_umum.fisiks[11].details
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()
},
changeLeherNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[9].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_leher = false
dt.fisiks[9].details[0].chx = true
this.leher_lain = false
}else{
this.open_listing_abnormal_leher = true
}
this.dt_umum = dt
},
changeLeherChx(id_code){
let dt = this.dt_umum.fisiks[9].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()
},
changeTenggorokanChx(id_code){
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()
},
/*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){
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()
},
/*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){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[8].details[0].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_mulut = false
dt.fisiks[8].details[0].details[0].chx = true
this.mulut_lain = false
}else{
this.open_listing_abnormal_mulut = true
}
this.dt_umum = dt
},
changeMulutChx(id_code){
let dt = this.dt_umum.fisiks[8].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()
},
/*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){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[7].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_gigi = false
dt.fisiks[7].details[0].chx = true
this.gigi_lain = false
}else{
this.open_listing_abnormal_gigi = true
}
this.dt_umum = dt
},
changeGigiChx(id_code){
let dt = this.dt_umum.fisiks[7].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){
let dt = this.dt_umum
if(value === 'N'){
dt.fisiks[0].details[3].chx_y = true
dt.fisiks[0].details[3].chx_x = false
}
if(value === 'I'){
dt.fisiks[0].details[3].chx_y = false
dt.fisiks[0].details[3].chx_x = true
}
if(value === 'A'){
dt.fisiks[0].details[3].chx_y = false
dt.fisiks[0].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){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[6].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_hidung = false
dt.fisiks[6].details[0].chx = true
this.hidung_lain = false
}else{
this.open_listing_abnormal_hidung = true
}
this.dt_umum = dt
},
changeHidungChx(id_code){
let dt = this.dt_umum.fisiks[6].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()
},
/*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){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[5].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_telinga = false
dt.fisiks[5].details[0].chx = true
this.telinga_lain = false
}else{
this.open_listing_abnormal_telinga = true
}
this.dt_umum = dt
},
changeTelingaChx(id_code){
let dt = this.dt_umum.fisiks[5].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){
let dt = this.dt_umum.fisiks[4].details[0]
if(status){
dt.value = value
}else{
dt.value = ''
}
console.log(dt)
},
changeMataChx(id_code){
let dt = this.dt_umum.fisiks[3].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()
},
changeLapangNormal(value){
console.log(value)
let dt = this.dt_umum
console.log(dt.fisiks[4].details[0])
if(value){
dt.fisiks[4].details[0].chx_x = false
dt.fisiks[4].details[0].chx_y = true
dt.fisiks[4].details[0].value = ''
}else{
dt.fisiks[4].details[0].chx_x = true
dt.fisiks[4].details[0].chx_y = false
}
this.dt_umum = dt
console.log(dt.fisiks[4].details[0])
},
changeMataNormal(value){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[3].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_mata = false
dt.fisiks[3].details[0].chx = true
this.mata_lain = false
}else{
this.open_listing_abnormal_mata = true
}
this.dt_umum = dt
},
changeKepalaChx(id_code){
let dt = this.dt_umum.fisiks[2].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){
let dt = this.dt_umum
//dt.fisiks[2].flag_normal = value
dt.fisiks[2].details.forEach(item => {
item.chx = false
item.value = ''
});
if(value === 'Y'){
this.open_listing_abnormal_kepala = false
dt.fisiks[2].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(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[3].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(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[6].details.forEach(item => {
if(item.id_code === 'hidung_4'){
value = item.chx
}
});
}
console.log(value)
this.hidung_lain = value
},
true_mulut_lain(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[8].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(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[8].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(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[9].details.forEach(item => {
if(item.id_code === 'leher_5'){
value = item.chx
}
});
}
console.log(value)
this.leher_lain = value
},
true_paru_lain(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[11].details.forEach(item => {
if(item.id_code === 'paru_5'){
value = item.chx
}
});
}
console.log(value)
this.paru_lain = value
},
true_kulit_lain(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[14].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(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[16].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(){
let xdt = this.dt_umum
let value = false
if(!_.isEmpty(xdt)){
let dt = this.$store.state.patient.dt_umum
dt.fisiks[16].details[1].details.forEach(item => {
if(item.id_code === 'anggota_gerak_15'){
value = item.chx
}
});
}
console.log(value)
this.ekstremitas_bawah_lain = value
},
check_normal_abdomen(){
console.log("dasdasfaer")
let datas = this.dt_umum
let normal_abdomen = ''
console.log(datas.fisiks[13].details[0].details[0].id_code+' '+datas.fisiks[13].details[0].details[0].chx)
console.log(datas.fisiks[13].details[1].details[0].id_code+' '+datas.fisiks[13].details[1].details[0].chx)
console.log(datas.fisiks[13].details[2].details[0].id_code+' '+datas.fisiks[13].details[2].details[0].chx)
console.log(datas.fisiks[13].details[3].details[0].id_code+' '+datas.fisiks[13].details[3].details[0].chx)
console.log(datas.fisiks[13].details[4].details[0].id_code+' '+datas.fisiks[13].details[4].details[0].chx)
console.log(datas.fisiks[13].details[5].details[0].id_code+' '+datas.fisiks[13].details[5].details[0].chx )
console.log(datas.fisiks[13].details[5].details[1].id_code+' '+datas.fisiks[13].details[5].details[1].chx)
if(datas.fisiks[13].details[0].details[0].chx &&
datas.fisiks[13].details[1].details[0].chx &&
datas.fisiks[13].details[2].details[0].chx &&
datas.fisiks[13].details[3].details[0].chx &&
datas.fisiks[13].details[4].details[0].chx &&
( datas.fisiks[13].details[5].details[0].chx || datas.fisiks[13].details[5].details[1].chx)
){
normal_abdomen = true
console.log("XX")
}
if(datas.fisiks[13].details[0].details[1].chx ||
datas.fisiks[13].details[0].details[4].chx ||
datas.fisiks[13].details[0].details[2].chx ||
datas.fisiks[13].details[1].details[1].chx ||
datas.fisiks[13].details[4].details[1].details[1].chx_a_value ||
datas.fisiks[13].details[4].details[1].details[1].chx_b_value ||
datas.fisiks[13].details[4].details[1].details[0].chx_value ||
datas.fisiks[13].details[4].details[1].details[2].chx_a_value ||
datas.fisiks[13].details[4].details[1].details[2].chx_b_value ||
datas.fisiks[13].details[5].details[2].chx
){
normal_abdomen = false
console.log("YY")
}
this.normal_abdomen = normal_abdomen
},
changeAbdomenNormal(value){
let datas = this.dt_umum
if(value == 'Y'){
this.open_listing_abnormal_normal_abdomen = false
datas.fisiks[13].details[0].details[0].chx = true
datas.fisiks[13].details[1].details[0].chx = true
datas.fisiks[13].details[2].details[0].chx = true
datas.fisiks[13].details[3].details[0].chx = true
datas.fisiks[13].details[4].details[0].chx = true
datas.fisiks[13].details[5].details[1].chx = true
datas.fisiks[13].details[0].details[1].chx = false
datas.fisiks[13].details[0].details[4].chx = false
datas.fisiks[13].details[0].details[2].chx = false
datas.fisiks[13].details[4].details[1].details[1].chx_a_value = false
datas.fisiks[13].details[4].details[1].details[1].chx_b_value = false
datas.fisiks[13].details[4].details[1].details[0].chx_value = false
datas.fisiks[13].details[4].details[1].details[2].chx_a_value = false
datas.fisiks[13].details[4].details[1].details[2].chx_b_value = false
datas.fisiks[13].details[5].details[2].chx = false
datas.fisiks[13].details[5].details[2].value = ''
datas.fisiks[13].details[0].details[4].value = ""
}else{
datas.fisiks[13].details[0].details[0].chx = false
datas.fisiks[13].details[1].details[0].chx = false
datas.fisiks[13].details[2].details[0].chx = false
datas.fisiks[13].details[3].details[0].chx = false
datas.fisiks[13].details[4].details[0].chx = false
datas.fisiks[13].details[5].details[0].chx = false
datas.fisiks[13].details[5].details[1].chx = false
//console.log("hdeutfuefh")
this.open_listing_abnormal_normal_abdomen = true
console.log("iki")
console.log(datas.fisiks[13].details[0].details[1].chx)
}
console.log(this.open_listing_abnormal_normal_abdomen)
this.check_normal_abdomen()
}
},
computed: {
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_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)
}
},
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_lainn", val)
}
},
},
data() {
return {
btn_next:false,
/*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>