nuVistA/htdocs/RoutePatientVisits.vue

40 lines
1.0 KiB
Vue
Raw Normal View History

2023-04-24 21:23:35 -04:00
<template>
2023-05-06 12:05:13 -04:00
<Subtitle value="Visits" />
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>Visits</span>
<DateRangePicker range="6M" direction="-1" v-model:date="visits_date" v-model:date_end="visits_date_begin" />
2023-04-24 21:23:35 -04:00
</div>
2023-05-08 18:48:29 -04:00
<div class="card-body"><ViewVisits :client="client" :dfn="patient_dfn" :date_begin="visits_date_begin" :date_end="visits_date" /></div>
2023-04-24 21:23:35 -04:00
</div>
</template>
<script>
2023-05-06 12:05:13 -04:00
import Subtitle from './Subtitle.vue';
2023-04-24 21:23:35 -04:00
import DateRangePicker from './DateRangePicker.vue';
import OrderFilterPicker from './OrderFilterPicker.vue';
import ViewVisits from './ViewVisits.vue';
var now = new Date();
export default {
components: {
2023-05-06 12:05:13 -04:00
Subtitle, DateRangePicker, OrderFilterPicker, ViewVisits
2023-04-24 21:23:35 -04:00
},
props: {
2023-05-08 18:48:29 -04:00
client: Object,
sensitive: Boolean,
patient_dfn: String,
patient_info: Object
2023-04-24 21:23:35 -04:00
},
data() {
return {
orders_filter: 2,
visits_date: now,
visits_date_begin: now
};
}
};
</script>