Add walkthrough
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
<template>
|
||||
<div class="h-full min-h-0 flex flex-col">
|
||||
<AppHeader title="Clinical Approval">
|
||||
<AppHeader title="Clinical Approval" tour-anchor="approval-header">
|
||||
<template #subtitle>
|
||||
<span v-if="currentBatch" class="text-sm text-ink-secondary">
|
||||
Batch {{ currentBatch.id.substring(0, 8) }}…
|
||||
· {{ formatBatchType(currentBatch.batchType) }}
|
||||
</span>
|
||||
</template>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
</template>
|
||||
</AppHeader>
|
||||
|
||||
<WorkstationLayout :has-batch="!!batchId">
|
||||
@@ -68,6 +71,7 @@ import { useRoute, useRouter } from 'vue-router'
|
||||
import { useBatchStore } from '../stores/batches'
|
||||
import { usePresignedUrl } from '../composables/usePresignedUrl'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import ScanViewer from '../components/ScanViewer.vue'
|
||||
import BatchList from '../components/BatchList.vue'
|
||||
import WorkstationLayout from '../components/WorkstationLayout.vue'
|
||||
|
||||
@@ -3,13 +3,18 @@
|
||||
<AppHeader
|
||||
title="Cover Sheets"
|
||||
description="Generate printable separators that reconnect scanned paper to batch metadata."
|
||||
/>
|
||||
tour-anchor="cover-sheets-header"
|
||||
>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
</template>
|
||||
</AppHeader>
|
||||
|
||||
<div class="flex-1 overflow-y-auto p-4 sm:p-6 lg:p-8">
|
||||
<div class="max-w-7xl mx-auto space-y-6 lg:space-y-8">
|
||||
<!-- Top: 50 / 50 generation + preview -->
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 lg:gap-8 items-start">
|
||||
<section class="card">
|
||||
<section class="card" data-tour="cover-sheets-generate">
|
||||
<h2 class="text-base font-semibold text-ink-strong mb-4">Generate Cover Sheets</h2>
|
||||
|
||||
<form @submit.prevent="handleGenerate" class="space-y-4">
|
||||
@@ -324,6 +329,7 @@ import { ref, computed, onMounted } from 'vue'
|
||||
import { get, post, postBlob } from '../api/client'
|
||||
import { useToast } from '../composables/useToast'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import PatientSearch from '../components/PatientSearch.vue'
|
||||
import StatusBadge from '../components/StatusBadge.vue'
|
||||
import EmptyState from '../components/EmptyState.vue'
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
<template>
|
||||
<div class="h-full min-h-0 flex flex-col">
|
||||
<AppHeader title="Data Entry">
|
||||
<AppHeader title="Data Entry" tour-anchor="entry-header">
|
||||
<template #subtitle>
|
||||
<span v-if="currentBatch" class="text-sm text-ink-secondary">
|
||||
Batch {{ currentBatch.id.substring(0, 8) }}…
|
||||
· {{ currentBatch.batchType.replace(/_/g, ' ') }}
|
||||
</span>
|
||||
</template>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
</template>
|
||||
</AppHeader>
|
||||
|
||||
<WorkstationLayout :has-batch="!!batchId">
|
||||
@@ -62,6 +65,7 @@ import { useRoute, useRouter } from 'vue-router'
|
||||
import { useBatchStore } from '../stores/batches'
|
||||
import { usePresignedUrl } from '../composables/usePresignedUrl'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import ScanViewer from '../components/ScanViewer.vue'
|
||||
import EntryForm from '../components/EntryForm.vue'
|
||||
import BatchList from '../components/BatchList.vue'
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
<AppHeader
|
||||
title="FHIR Explorer"
|
||||
description="Read-only inspection of exposed FHIR resources for administrators and integration staff."
|
||||
tour-anchor="fhir-header"
|
||||
>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
<button type="button" class="btn-secondary text-sm" @click="openMetadata">
|
||||
CapabilityStatement
|
||||
</button>
|
||||
@@ -331,6 +333,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import PatientSearch from '../components/PatientSearch.vue'
|
||||
import InlineError from '../components/InlineError.vue'
|
||||
import EmptyState from '../components/EmptyState.vue'
|
||||
|
||||
@@ -3,7 +3,12 @@
|
||||
<AppHeader
|
||||
title="Intake"
|
||||
description="Create a digitization batch from a PDF or image scan."
|
||||
/>
|
||||
tour-anchor="intake-header"
|
||||
>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
</template>
|
||||
</AppHeader>
|
||||
|
||||
<div class="flex-1 overflow-y-auto p-4 sm:p-6 lg:p-8">
|
||||
<div class="max-w-7xl mx-auto">
|
||||
@@ -11,7 +16,7 @@
|
||||
<!-- Main — ~70%: upload + batch details -->
|
||||
<div class="space-y-6 min-w-0">
|
||||
<!-- Cover sheet quick lookup -->
|
||||
<section class="card">
|
||||
<section class="card" data-tour="intake-cover-lookup">
|
||||
<h2 class="text-base font-semibold text-ink-strong mb-1">Cover Sheet Code</h2>
|
||||
<p class="text-sm text-ink-secondary mb-4">
|
||||
Optional. Scan or type a barcode to auto-fill batch details.
|
||||
@@ -100,7 +105,7 @@
|
||||
|
||||
<form @submit.prevent="handleUpload" class="space-y-5">
|
||||
<!-- Drop zone -->
|
||||
<div>
|
||||
<div data-tour="intake-upload">
|
||||
<label class="block text-sm font-semibold text-ink mb-2">
|
||||
Scanned Document
|
||||
</label>
|
||||
@@ -181,6 +186,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Batch type -->
|
||||
<div data-tour="intake-metadata" class="space-y-5">
|
||||
<div>
|
||||
<label for="batch-type" class="block text-sm font-semibold text-ink mb-2">
|
||||
Batch Type
|
||||
@@ -277,6 +283,7 @@
|
||||
>
|
||||
{{ uploadButtonLabel }}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
@@ -292,7 +299,7 @@
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="card">
|
||||
<section class="card" data-tour="intake-recent">
|
||||
<h2 class="text-base font-semibold text-ink-strong mb-4">Recent Uploads</h2>
|
||||
<InlineError
|
||||
v-if="assignError"
|
||||
@@ -334,6 +341,7 @@ import { get } from '../api/client'
|
||||
import { useBatchStore } from '../stores/batches'
|
||||
import { useToast } from '../composables/useToast'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import PatientSearch from '../components/PatientSearch.vue'
|
||||
import BatchList from '../components/BatchList.vue'
|
||||
import AssignClerkDialog from '../components/AssignClerkDialog.vue'
|
||||
|
||||
@@ -3,12 +3,17 @@
|
||||
<AppHeader
|
||||
title="Live Capture"
|
||||
description="Bedside observation recording — lighter than backfill digitization."
|
||||
/>
|
||||
tour-anchor="live-capture-header"
|
||||
>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
</template>
|
||||
</AppHeader>
|
||||
|
||||
<div class="flex-1 overflow-y-auto p-4 sm:p-6 lg:p-8">
|
||||
<div class="max-w-5xl mx-auto space-y-6">
|
||||
<!-- Mode selector -->
|
||||
<div class="flex border-b border-line" role="tablist">
|
||||
<div class="flex border-b border-line" role="tablist" data-tour="live-capture-tabs">
|
||||
<button
|
||||
type="button"
|
||||
role="tab"
|
||||
@@ -35,6 +40,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="space-y-6" data-tour="live-capture-patient">
|
||||
<!-- 1. Patient -->
|
||||
<section v-if="mode === 'new'" class="card space-y-4">
|
||||
<header>
|
||||
@@ -104,9 +110,10 @@
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<!-- 3. Observations -->
|
||||
<section class="card space-y-4">
|
||||
<section class="card space-y-4" data-tour="live-capture-observations">
|
||||
<header class="flex flex-wrap items-end justify-between gap-3">
|
||||
<div>
|
||||
<p class="workstation-form-legend">
|
||||
@@ -142,6 +149,7 @@
|
||||
</section>
|
||||
|
||||
<!-- 4. Attestation -->
|
||||
<div class="space-y-4" data-tour="live-capture-attest">
|
||||
<section class="card space-y-4">
|
||||
<header>
|
||||
<p class="workstation-form-legend">
|
||||
@@ -264,6 +272,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -274,6 +283,7 @@ import { ref, computed } from 'vue'
|
||||
import { useLiveCaptureStore } from '../stores/liveCapture'
|
||||
import { useToast } from '../composables/useToast'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import PatientSearch from '../components/PatientSearch.vue'
|
||||
import InlineError from '../components/InlineError.vue'
|
||||
import ObservationRow from '../components/ObservationRow.vue'
|
||||
|
||||
@@ -3,7 +3,12 @@
|
||||
<AppHeader
|
||||
title="Patient History"
|
||||
description="Digitization lineage, promotion attribution, and audit trail for a patient."
|
||||
/>
|
||||
tour-anchor="patient-history-header"
|
||||
>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
</template>
|
||||
</AppHeader>
|
||||
|
||||
<div class="flex-1 overflow-y-auto p-4 sm:p-6 lg:p-8">
|
||||
<div class="max-w-5xl mx-auto space-y-6">
|
||||
@@ -261,6 +266,7 @@ import { ref, watch } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useBatchStore } from '../stores/batches'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import PatientSearch from '../components/PatientSearch.vue'
|
||||
import StatusBadge from '../components/StatusBadge.vue'
|
||||
import EmptyState from '../components/EmptyState.vue'
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
<AppHeader
|
||||
title="Queue Dashboard"
|
||||
description="Supervisor view of digitization backlog, aging work, and reject rate."
|
||||
tour-anchor="dashboard-header"
|
||||
>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
<button
|
||||
type="button"
|
||||
class="text-sm font-medium text-primary-700 hover:text-primary-800"
|
||||
@@ -28,7 +30,10 @@
|
||||
/>
|
||||
|
||||
<!-- Priority work metrics -->
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-3 sm:gap-4">
|
||||
<div
|
||||
class="grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-3 sm:gap-4"
|
||||
data-tour="dashboard-metrics"
|
||||
>
|
||||
<div class="card-elevated">
|
||||
<p class="text-xs font-semibold uppercase tracking-wide text-ink-secondary">
|
||||
Pending Entry
|
||||
@@ -124,7 +129,7 @@
|
||||
</section>
|
||||
|
||||
<!-- Existing batch list via batch list API -->
|
||||
<section class="card">
|
||||
<section class="card" data-tour="dashboard-batches">
|
||||
<h2 class="text-base font-semibold text-ink-strong mb-4">All Batches</h2>
|
||||
<BatchList
|
||||
:batches="batchStore.batches"
|
||||
@@ -145,6 +150,7 @@ import { ref, computed, onMounted } from 'vue'
|
||||
import { useBatchStore } from '../stores/batches'
|
||||
import { get } from '../api/client'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import BatchList from '../components/BatchList.vue'
|
||||
import StatusBadge from '../components/StatusBadge.vue'
|
||||
import EmptyState from '../components/EmptyState.vue'
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
<AppHeader
|
||||
title="Users"
|
||||
description="Create accounts, update roles, and reset passwords for active staff."
|
||||
tour-anchor="users-header"
|
||||
>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
<button
|
||||
type="button"
|
||||
class="btn-primary"
|
||||
@@ -269,6 +271,7 @@ import { onMounted, reactive, ref } from 'vue'
|
||||
import { useUsersStore } from '../stores/users'
|
||||
import { useToast } from '../composables/useToast'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import ConfirmDialog from '../components/ConfirmDialog.vue'
|
||||
import EmptyState from '../components/EmptyState.vue'
|
||||
import InlineError from '../components/InlineError.vue'
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
<template>
|
||||
<div class="h-full min-h-0 flex flex-col">
|
||||
<AppHeader title="Verification">
|
||||
<AppHeader title="Verification" tour-anchor="verification-header">
|
||||
<template #subtitle>
|
||||
<span v-if="currentBatch" class="text-sm text-ink-secondary">
|
||||
Batch {{ currentBatch.id.substring(0, 8) }}…
|
||||
<span v-if="enteredByLabel"> · Entered by {{ enteredByLabel }}</span>
|
||||
</span>
|
||||
</template>
|
||||
<template #actions>
|
||||
<TourHelpButton />
|
||||
</template>
|
||||
</AppHeader>
|
||||
|
||||
<WorkstationLayout :has-batch="!!batchId">
|
||||
@@ -63,6 +66,7 @@ import { useRoute, useRouter } from 'vue-router'
|
||||
import { useBatchStore } from '../stores/batches'
|
||||
import { usePresignedUrl } from '../composables/usePresignedUrl'
|
||||
import AppHeader from '../components/AppHeader.vue'
|
||||
import TourHelpButton from '../components/TourHelpButton.vue'
|
||||
import ScanViewer from '../components/ScanViewer.vue'
|
||||
import VerificationForm from '../components/VerificationForm.vue'
|
||||
import BatchList from '../components/BatchList.vue'
|
||||
|
||||
Reference in New Issue
Block a user