diff --git a/app/components/app/sep/entry-form.vue b/app/components/app/sep/entry-form.vue index b336eaf1..70e5ba7e 100644 --- a/app/components/app/sep/entry-form.vue +++ b/app/components/app/sep/entry-form.vue @@ -26,6 +26,7 @@ const props = defineProps<{ doctors: any[] diagnoses: any[] facilities: any[] + supportCodes: any[] patient?: PatientEntity | null | undefined values?: any }>() @@ -43,12 +44,6 @@ const admissionTypes = [ { value: '2', label: 'Rujukan' }, ] -const items = [ - { value: 'item-1', label: 'Item 1' }, - { value: 'item-2', label: 'Item 2' }, - { value: 'item-3', label: 'Item 3' }, -] - // Validation schema (moved to shared file) const { handleSubmit, errors, defineField, meta } = useForm({ validationSchema: toTypedSchema(IntegrationBpjsSchema), @@ -69,8 +64,10 @@ const [attendingDoctor, attendingDoctorAttrs] = defineField('attendingDoctor') const [initialDiagnosis, initialDiagnosisAttrs] = defineField('initialDiagnosis') const [cob, cobAttrs] = defineField('cob') const [cataract, cataractAttrs] = defineField('cataract') +const [clinicExcecutive, clinicExcecutiveAttrs] = defineField('clinicExcecutive') const [procedureType, procedureTypeAttrs] = defineField('procedureType') const [supportCode, supportCodeAttrs] = defineField('supportCode') +const [note, noteAttrs] = defineField('note') // Submit handler const onSubmit = handleSubmit((values) => { @@ -313,23 +310,23 @@ watch(props, (value) => {
- +
- +
@@ -350,7 +347,7 @@ watch(props, (value) => { placeholder="Pilih DPJP" search-placeholder="Cari DPJP" empty-message="Item tidak ditemukan" - @update:searchText="emit('fetch', { menu: 'attendingDoctor', value: $event })" + @update:searchText="emit('fetch', { menu: 'attendingDoctor', value: $event })" /> @@ -379,7 +376,7 @@ watch(props, (value) => { @@ -387,6 +384,8 @@ watch(props, (value) => {