From 4edf50aa8268cceab49b5a9bcdbdb304837b8d6e Mon Sep 17 00:00:00 2001 From: inportb Date: Mon, 24 Apr 2023 23:10:19 -0400 Subject: [PATCH] Foundation for order entry --- htdocs/App.vue | 2 + htdocs/DateTimePicker.vue | 84 ++++++ htdocs/Navbar.vue | 3 + htdocs/RoutePatientOrders.vue | 83 ++++++ htdocs/ViewLocationLookup.vue | 64 +++++ htdocs/ViewLocationLookupExisting.vue | 77 ++++++ htdocs/ViewLocationLookupNew.vue | 124 +++++++++ htdocs/ViewOrderDialog.vue | 71 +++++ htdocs/ViewOrderDialogGeneric.vue | 118 +++++++++ htdocs/ViewOrderDialogLab.vue | 161 +++++++++++ htdocs/ViewOrderDialogMedOutpt.vue | 295 +++++++++++++++++++++ htdocs/ViewOrderDialogMedOutptInstance.vue | 164 ++++++++++++ htdocs/ViewOrderMenu.vue | 97 +++++++ htdocs/ViewOrderableLookup.vue | 154 +++++++++++ htdocs/ViewOrderableRawLookup.vue | 157 +++++++++++ htdocs/constants.mjs | 46 ++++ htdocs/fmdatetime.mjs | 86 ++++++ htdocs/numberwords.mjs | 56 ++++ htdocs/reportparser.mjs | 40 ++- htdocs/vistax.mjs | 199 +++++++++++++- main.py | 5 +- 21 files changed, 2076 insertions(+), 10 deletions(-) create mode 100644 htdocs/DateTimePicker.vue create mode 100644 htdocs/RoutePatientOrders.vue create mode 100644 htdocs/ViewLocationLookup.vue create mode 100644 htdocs/ViewLocationLookupExisting.vue create mode 100644 htdocs/ViewLocationLookupNew.vue create mode 100644 htdocs/ViewOrderDialog.vue create mode 100644 htdocs/ViewOrderDialogGeneric.vue create mode 100644 htdocs/ViewOrderDialogLab.vue create mode 100644 htdocs/ViewOrderDialogMedOutpt.vue create mode 100644 htdocs/ViewOrderDialogMedOutptInstance.vue create mode 100644 htdocs/ViewOrderMenu.vue create mode 100644 htdocs/ViewOrderableLookup.vue create mode 100644 htdocs/ViewOrderableRawLookup.vue create mode 100644 htdocs/constants.mjs create mode 100644 htdocs/fmdatetime.mjs create mode 100644 htdocs/numberwords.mjs diff --git a/htdocs/App.vue b/htdocs/App.vue index ce3aa40..f273895 100644 --- a/htdocs/App.vue +++ b/htdocs/App.vue @@ -15,6 +15,7 @@ import RoutePatientLookup from './RoutePatientLookup.vue'; import RoutePatientDetail from './RoutePatientDetail.vue'; import RoutePatientVisits from './RoutePatientVisits.vue'; + import RoutePatientOrders from './RoutePatientOrders.vue'; import RouteScheduleOverview from './RouteScheduleOverview.vue'; import RouteRecall from './RouteRecall.vue'; @@ -44,6 +45,7 @@ { path: '/patient', component: RoutePatientLookup }, { path: '/patient/:id', component: RoutePatientDetail }, { path: '/patient/:id/visits', component: RoutePatientVisits }, + { path: '/patient/:id/orders', component: RoutePatientOrders }, { path: '/overview', component: RouteScheduleOverview }, { path: '/recall', component: RouteRecall }, ].forEach(route => this.$root.$router.addRoute(route)); diff --git a/htdocs/DateTimePicker.vue b/htdocs/DateTimePicker.vue new file mode 100644 index 0000000..59f1baf --- /dev/null +++ b/htdocs/DateTimePicker.vue @@ -0,0 +1,84 @@ + + + diff --git a/htdocs/Navbar.vue b/htdocs/Navbar.vue index 0464a0a..5d18bf7 100644 --- a/htdocs/Navbar.vue +++ b/htdocs/Navbar.vue @@ -17,6 +17,9 @@ +