nuVistA/htdocs/RoutePatientVisits.vue

40 lines
1.0 KiB
Vue

<template>
<Subtitle value="Visits" />
<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" />
</div>
<div class="card-body"><ViewVisits :client="client" :dfn="patient_dfn" :date_begin="visits_date_begin" :date_end="visits_date" /></div>
</div>
</template>
<script>
import Subtitle from './Subtitle.vue';
import DateRangePicker from './DateRangePicker.vue';
import OrderFilterPicker from './OrderFilterPicker.vue';
import ViewVisits from './ViewVisits.vue';
var now = new Date();
export default {
components: {
Subtitle, DateRangePicker, OrderFilterPicker, ViewVisits
},
props: {
client: Object,
sensitive: Boolean,
patient_dfn: String,
patient_info: Object
},
data() {
return {
orders_filter: 2,
visits_date: now,
visits_date_begin: now
};
}
};
</script>