nuVistA/htdocs/RoutePatientDetail.vue

43 lines
1.0 KiB
Vue

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