nuVistA/htdocs/RoutePatientDetail.vue

43 lines
1.0 KiB
Vue
Raw Normal View History

2022-09-22 07:10:08 -04:00
<template>
2023-05-06 12:05:13 -04:00
<Subtitle value="Detail" />
2023-05-08 18:48:29 -04:00
<Subtitle :value="patient_info.name" />
<div class="card mb-3 shadow">
<div class="card-header d-flex justify-content-between align-items-center">
<span>Data</span>
<DateRangePicker range="1M" direction="-1" v-model:date="report_date" v-model:date_end="report_date_begin" />
2022-09-22 07:10:08 -04:00
</div>
2023-05-08 18:48:29 -04:00
<div class="card-body">
<ViewVitalsLabs :client="client" :dfn="patient_dfn" :date_begin="report_date_begin" :date_end="report_date" />
2022-09-22 07:10:08 -04:00
</div>
</div>
</template>
<script>
2023-05-06 12:05:13 -04:00
import Subtitle from './Subtitle.vue';
2022-09-22 07:10:08 -04:00
import DateRangePicker from './DateRangePicker.vue';
import ViewVitalsLabs from './ViewVitalsLabs.vue';
var now = new Date();
export default {
components: {
2023-05-06 12:05:13 -04:00
Subtitle, DateRangePicker, ViewVitalsLabs
2022-09-22 07:10:08 -04:00
},
props: {
2023-05-08 18:48:29 -04:00
client: Object,
sensitive: Boolean,
patient_dfn: String,
patient_info: Object
2022-09-22 07:10:08 -04:00
},
data() {
return {
2022-09-24 00:12:36 -04:00
report_date: now,
2022-10-01 00:38:59 -04:00
report_date_begin: now,
orders_filter: 2,
orders_date: now,
orders_date_begin: now
2022-09-22 07:10:08 -04:00
};
}
};
</script>