diff --git a/app/components/content/outpatient/encounter/list.vue b/app/components/content/outpatient/encounter/list.vue index a99babaa..da703ecb 100644 --- a/app/components/content/outpatient/encounter/list.vue +++ b/app/components/content/outpatient/encounter/list.vue @@ -9,9 +9,14 @@ import Header from '~/components/pub/my-ui/nav-header/prep.vue' import { usePaginatedList } from '~/composables/usePaginatedList' import { getList, remove } from '~/services/control-letter.service' import { toast } from '~/components/pub/ui/toast' +import type { Encounter } from '~/models/encounter' +import WarningAlert from '~/components/pub/my-ui/alert/warning-alert.vue' // #endregion // #region State +const props = defineProps<{ + encounter?: Encounter +}>() const route = useRoute() const encounterId = typeof route.params.id == 'string' ? parseInt(route.params.id) : 0 @@ -34,6 +39,7 @@ const refSearchNav: RefSearchNav = { const isRecordConfirmationOpen = ref(false) const summaryLoading = ref(false) +const isRequirementsMet = ref(true) const recId = ref(0) const recAction = ref('') @@ -131,30 +137,40 @@ watch([recId, recAction], () => { diff --git a/app/components/pub/my-ui/alert/warning-alert.vue b/app/components/pub/my-ui/alert/warning-alert.vue new file mode 100644 index 00000000..afdbe7ae --- /dev/null +++ b/app/components/pub/my-ui/alert/warning-alert.vue @@ -0,0 +1,27 @@ + + + \ No newline at end of file