2920 lines
153 KiB
PHP
2920 lines
153 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 && ( 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" 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 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>
|
|
<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>
|
|
<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].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].details[1].label}}</v-btn>
|
|
</v-flex>
|
|
<v-flex xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[4].details[1].details[1].chx_a_value" @click="changeInguinal('D',index)" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[1].label}}({{fisik.details[4].details[1].details[1].chx_a_label}})</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[4].details[1].details[1].chx_a_value" @click="changeInguinal('D',index)" color="error" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[1].label}} ({{fisik.details[4].details[1].details[1].chx_a_label}})</v-btn>
|
|
</v-flex>
|
|
<v-flex xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[4].details[1].details[1].chx_b_value" @click="changeInguinal('S',index)" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[1].label}} ({{fisik.details[4].details[1].details[1].chx_b_label}})</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[4].details[1].details[1].chx_b_value" @click="changeInguinal('S',index)" color="error" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[1].label}} ({{fisik.details[4].details[1].details[1].chx_b_label}})</v-btn>
|
|
</v-flex>
|
|
<v-flex xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[4].details[1].details[0].chx_value" @click="changeUmbilukus(index)" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[0].label}} </v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[4].details[1].details[0].chx_value" @click="changeUmbilukus(index)" color="error" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[0].label}} </v-btn>
|
|
</v-flex>
|
|
<v-flex xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[4].details[1].details[2].chx_a_value" @click="changeScrotum('D',index)" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[2].label}}({{fisik.details[4].details[1].details[2].chx_a_label}})</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[4].details[1].details[2].chx_a_value" @click="changeScrotum('D',index)" color="error" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[2].label}} ({{fisik.details[4].details[1].details[2].chx_a_label}})</v-btn>
|
|
</v-flex>
|
|
<v-flex xs12>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="!fisik.details[4].details[1].details[2].chx_b_value" @click="changeScrotum('S',index)" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[2].label}} ({{fisik.details[4].details[1].details[2].chx_b_label}})</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="fisik.details[4].details[1].details[2].chx_b_value" @click="changeScrotum('S',index)" color="error" block>{{fisik.details[4].name}} {{fisik.details[4].details[1].details[2].label}} ({{fisik.details[4].details[1].details[2].chx_b_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 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-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-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>
|
|
|
|
<div v-if="!_.isEmpty(dt_umum) && btn_next" 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-btn style="font-size: 0.8em!important;" v-if="k_detail === 4 && rog_terbatas && detail.value.toLowerCase() === 'terbatas'" @click="changeRogTerbatas('',index)" block color="error">Terbatas</v-btn>
|
|
<v-btn style="font-size: 0.8em!important;" v-if="k_detail === 4 && rog_terbatas && detail.value.toLowerCase() !== 'terbatas'" @click="changeRogTerbatas('Terbatas',index)" block>Terbatas</v-btn>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-card>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</v-card-text>
|
|
<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(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
|
|
dt_umum.fisiks[index].details[4].details[0].chx = false
|
|
}else{
|
|
dt_umum.fisiks[index].details[4].details[1].chx = false
|
|
dt_umum.fisiks[index].details[4].details[0].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'
|
|
}
|
|
});
|
|
});
|
|
if(!dt.fisiks[index].details[4].details[1].chx){
|
|
dt.fisiks[index].details[4].details[1].value = ''
|
|
}else{
|
|
this.rog_terbatas = true
|
|
}
|
|
console.log(inspected)
|
|
dt.fisiks[index].is_inspected = inspected
|
|
},
|
|
changeRogTerbatas(value,index){
|
|
let dt = this.dt_umum
|
|
dt.fisiks[index].details[4].details[1].value = value
|
|
this.dt_umum = dt
|
|
},
|
|
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()
|
|
},
|
|
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[0].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)
|
|
|
|
}
|
|
|
|
},
|
|
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_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)
|
|
}
|
|
},
|
|
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)
|
|
}
|
|
},
|
|
rog_terbatas: {
|
|
get() {
|
|
return this.$store.state.patient.rog_terbatas
|
|
},
|
|
set(val) {
|
|
this.$store.commit("patient/update_rog_terbatas", 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>
|