diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/company.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/company.js
new file mode 100644
index 0000000..32eb48f
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/company.js
@@ -0,0 +1,27 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+export async function search(token, qry, c_token) {
+ try {
+ var resp = await axios.post(URL + 'company/search', {
+ token: token,
+ qry: qry
+ },{ cancelToken : c_token });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data.data;
+ return {
+ status: "OK",
+ data : data
+ };
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/helper.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/helper.js
new file mode 100644
index 0000000..76f01fc
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/helper.js
@@ -0,0 +1,23 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+export async function calc_age(prm ) {
+ try {
+ var resp = await axios.post(URL + 'helper/calc_age', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ return {
+ status: "OK",
+ data : resp.data.data
+ };
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_history.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_history.js
new file mode 100644
index 0000000..f77bfa3
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_history.js
@@ -0,0 +1,25 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+ export async function history(token, order_id) {
+ try {
+ var resp = await axios.post(URL + 'history/search_v2', {
+ token: token,
+ order_id: order_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_normal.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_normal.js
new file mode 100644
index 0000000..b7a34a2
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_normal.js
@@ -0,0 +1,23 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+ export async function update(token, order_detail_id) {
+ try {
+ var resp = await axios.post(URL + 're_normal/update', {
+ token: token,
+ order_detail_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_normal_method.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_normal_method.js
new file mode 100644
index 0000000..1005082
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_normal_method.js
@@ -0,0 +1,46 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+ export async function search_method(token, nattest_id) {
+ try {
+ var resp = await axios.post(URL + 're_normal_method/search_method', {
+ token: token,
+ nattest_id: nattest_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
+
+ export async function save_method(token, detail_id, method_id) {
+ try {
+ var resp = await axios.post(URL + 're_normal_method/save_method', {
+ token: token,
+ detail_id: detail_id,
+ method_id: method_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_patient.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_patient.js
new file mode 100644
index 0000000..e7b1fb7
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_patient.js
@@ -0,0 +1,72 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+ export async function search(token, sdate, search, group_id, page, company_id) {
+ try {
+ var resp = await axios.post(URL + 're_patient/search', {
+ token: token,
+ start_date: sdate,
+ search: search,
+ group_id: group_id,
+ page: page,
+ company_id : company_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
+
+ export async function save_note(token, order_id, note) {
+ try {
+ var resp = await axios.post(URL + 're_patient/save_note', {
+ token: token,
+ order_id: order_id,
+ note: note
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
+
+ export async function info_req(token, order_id) {
+ try {
+ var resp = await axios.post(URL + 're_patient/info_req', {
+ token: token,
+ order_id: order_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_px.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_px.js
new file mode 100644
index 0000000..9f5d83c
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/api/re_px.js
@@ -0,0 +1,586 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+const portServerImportInterface = "/one-api/v1/su/portserver_kd/";
+
+// save_result_note_row
+export async function save_result_note_row(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/update_result_note_row', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+// result note row
+export async function get_result_note_by_nat_test_id(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/result_note_row_by_nat_test_id', prm);
+
+ // console.log("resp ", resp);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+// upload file
+export async function uploadimage_lampiran(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/upload_file_lampiran_by_order_id', prm, {
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ }
+ });
+
+ // console.log("resp ", resp);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+// import interface
+export async function importInterface(prm, ItfNoReg) {
+ try {
+ var resp = await axios.get(portServerImportInterface + 'fpp/' + ItfNoReg);
+ console.log("RESPON SERVER : ", resp)
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.data.message
+ };
+ } else {
+ return {
+ status: "OK",
+ message: resp.data.message
+ };
+ }
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function search(token, order_id, lang_id, lang_si, group_id) {
+ try {
+ var resp = await axios.post(URL + 're_px/search', {
+ token: token,
+ order_id: order_id,
+ lang_id: lang_id,
+ lang_si: lang_si,
+ group_id: group_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function save(token, lang_id, is_si, datax) {
+ try {
+ var resp = await axios.post(URL + 're_px/save', {
+ token: token,
+ lang_id: lang_id,
+ is_si: is_si,
+ data: datax
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function uploadimage(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/uploadimage', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function save_template(token, test_id, value) {
+ try {
+ var resp = await axios.post(URL + 're_px/save_template', {
+ token: token,
+ test_id: test_id,
+ value: value
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function lang_export(token, order_id, lang_id, is_si) {
+ try {
+ var resp = await axios.post(URL + 're_px/export', {
+ token: token,
+ order_id: order_id,
+ lang_id: lang_id,
+ is_si: is_si
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function search_group() {
+ try {
+ var resp = await axios.post(URL + 're_px/search_group', {});
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function search_rerun(detail_id) {
+ try {
+ var resp = await axios.post(URL + 're_px/search_rerun', { detail_id: detail_id });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function getmikroresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getmikroresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function getpapsmearresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getpapsmearresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function getantibiotics(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getantibiotics', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function getlcprepresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getlcprepresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function getfnaresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getfnaresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function getcytologiresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getcytologiresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function saveresult_mikro(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_mikro', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function saveresult_papsmear(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_papsmear', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function saveresult_lcprep(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_lcprep', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function get_doctors(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getdoctorsfna', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function saveresult_fna(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_fna', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function saveresult_cytologi(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_cytologi', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function uploadimage_preparasi_sperma(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/uploadimage_preparasi_sperma', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function getpreparasispermaresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getpreparasispermaresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+
+export async function saveresult_preparasi_sperma(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_preparasi_sperma', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function get_doctors_preparasi_sperma(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/get_doctors_preparasi_sperma', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function get_fpp(token, order_id) {
+ try {
+ var resp = await axios.post(URL + 're_px/get_fpp', {
+ token: token,
+ order_id: order_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneDatePicker.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneDatePicker.vue
new file mode 100644
index 0000000..360a824
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneDatePicker.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneInfo.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneInfo.vue
new file mode 100644
index 0000000..0bb7a45
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneInfo.vue
@@ -0,0 +1,43 @@
+
+
+ Pasien hari ini : {{ hari_ini }} , menyusul {{ total - hari_ini}}
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogMethodChange.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogMethodChange.vue
new file mode 100644
index 0000000..d3eb4eb
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogMethodChange.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogNote.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogNote.vue
new file mode 100644
index 0000000..945d4be
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogNote.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogReq.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogReq.vue
new file mode 100644
index 0000000..209c506
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogReq.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+ Catatan FO
+ {{info_req.note_fo}}
+
+
+
+
+ Catatan Screening
+ {{info_req.note_fo_ver}}
+
+
+
+
+ Catatan Specimen
+ {{info_req.note_sampling}}
+
+
+
+
+
+ Requirement FO
+ {{info_req.req_fo.join(', ')}}
+
+
+
+
+
+ Requirement Specimen Collection
+ {{info_req.req_spec_col.join(', ')}}
+
+
+
+
+
+ Requirement Specimen Verification
+ {{info_req.req_spec_ver.join(', ')}}
+
+
+
+
+
+ Requirement Sample Verification
+ {{info_req.req_samp_ver.join(', ')}}
+
+
+
+
+
+ Requirement Pre Analitik
+ {{info_req.req_pre_an.join(', ')}}
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogResultTemplateNew.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogResultTemplateNew.vue
new file mode 100644
index 0000000..5f49ee7
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogResultTemplateNew.vue
@@ -0,0 +1,137 @@
+
+
+
+
+ Tambah Template Hasil
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogUploadFile.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogUploadFile.vue
new file mode 100644
index 0000000..baadf4c
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReDialogUploadFile.vue
@@ -0,0 +1,198 @@
+
+
+
+
+ Lampiran
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReFNA.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReFNA.vue
new file mode 100644
index 0000000..b0656bb
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReFNA.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+ HISTORI PEMERIKSAAN
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReHistory.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReHistory.vue
new file mode 100644
index 0000000..6d5eb4b
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReHistory.vue
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+
+
+
+ HISTORI PEMERIKSAAN
+
+
+ Catatan Pasien : {{ patient_note }}
+
+
+
+ {{ text_filter_test }}
+ Clear Test
+ Tutup
+
+
+
+
+
+
+
+
+
+ clear
+ check
+
+
+
+ {{ p.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ props.item.px_name }}
+ |
+
+ {{ props.item.unit }}
+ |
+
+
+ {{ props.item.result[xdate] }}
+
+
+ {{ props.item.notes[xdate] }}
+ |
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReHistoryX.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReHistoryX.vue
new file mode 100644
index 0000000..9e36351
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReHistoryX.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+ HISTORI PEMERIKSAAN
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePatientDetail.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePatientDetail.vue
new file mode 100644
index 0000000..daf4257
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePatientDetail.vue
@@ -0,0 +1,295 @@
+
+
+
+
+
+
+ No Reg / Tanggal
+ {{selected_patient.T_OrderHeaderLabNumber}} / {{order_date}}
+
+
+ Nama / Jenis Kelamin
+ {{selected_patient.M_PatientName}} / {{selected_patient.M_SexName}}
+
+
+ DOB / Umur
+ {{dob_date}} / {{age}}
+
+
+ Pengirim
+ {{selected_patient.doctor_sender_name}}
+
+
+
+ keyboard_arrow_up
+
+
+
+
+
+
+
+ No Reg / Tanggal
+ {{selected_patient.T_OrderHeaderLabNumber}} / {{order_date}}
+
+ Nama / Jenis Kelamin
+ {{selected_patient.M_PatientName}} / {{selected_patient.M_SexName}}
+
+ DOB / Umur
+ {{dob_date}} / {{age}}
+
+ Phone / Janji hasil
+ {{selected_patient.M_PatientHP}} / {{selected_patient.order_promise?selected_patient.order_promise.join(', '):''}}
+ Diagnose
+ {{selected_patient.T_OrderHeaderDiagnose}}
+
+
+ Kel. Pelanggan
+ {{selected_patient.M_CompanyName}}
+
+ Pengirim
+ {{selected_patient.doctor_sender_name}}
+
+ Pengiriman Hasil
+ {{selected_patient.delivery?selected_patient.delivery.join(", "):''}}
+
+ Format Hasil
+ {{langs}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ keyboard_arrow_down
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePatientList.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePatientList.vue
new file mode 100644
index 0000000..e5996ab
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePatientList.vue
@@ -0,0 +1,306 @@
+
+
+
+
+
+
+
+
+
+ PASIEN
+
+
+
+
+
+
{{selected_patient.M_PatientNote}}
+
+
+
+
+
+
+
+ FO
+
+
+
+
+ {{selected_patient.username_fo}}
+
+
{{selected_patient.T_OrderHeaderFoNote}}
+
+
+
+
+
+
+
+ Sampling
+
+
+
+
+ {{selected_patient.username_sample}}
+
+
{{selected_patient.T_OrderHeaderSamplingNote}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+ {{ props.item.T_OrderHeaderLabNumber }}
+ info
+
+ {{props.item.T_OrderHeaderLabNumberExt}}
+ |
+
+ {{ props.item.M_PatientName }}
+ {{format_date(props.item.T_OrderHeaderDate)}}
+
+ |
+
+ pan_tool
+ |
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxDialogResultNoteRow.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxDialogResultNoteRow.vue
new file mode 100644
index 0000000..4421817
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxDialogResultNoteRow.vue
@@ -0,0 +1,198 @@
+
+
+
+
+ Result Note Row
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxList-pe.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxList-pe.vue
new file mode 100644
index 0000000..ba8196e
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxList-pe.vue
@@ -0,0 +1,475 @@
+
+
+
+
+
+
+
+
+
+
+ |
+ {{ props.item.t_testname }}
+ |
+
+
+ {{ props.item.t_testname }}
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ add_circle
+
+
+
+ {{init_result(props.item)}}
+
+
+
+
+
+
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.result_flag : '' }}
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.normal_note : '' }}
+ create
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.unit_name : '' }}
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.methode_name : '' }}
+ create
+ |
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ save_text }}
+
+ Close
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxList.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxList.vue
new file mode 100644
index 0000000..52372d5
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRePxList.vue
@@ -0,0 +1,751 @@
+
+
+
+
+
+
+
+
+ Result Note Row
+
+
+
+
+
+
+ Hidden
+
+
+
+
+
+
+
+
+ {{ item.ResultNoteRowValue }}
+
+
+
+
+
+
+ Tidak Ada Data
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ {{ props.item.t_testname }}
+ |
+
+
+ {{ props.item.t_testname }}
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ add_circle
+
+
+
+ {{
+ init_result(props.item) }}
+
+
+
+
+
+
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.result_flag : '' }}
+ |
+
+
+ {{ !init_blank_normal(props.item) ? props.item.normal_note : '' }}
+ create
+ |
+
+
+ {{ !init_blank_normal(props.item) ? props.item.unit_name : '' }}
+ |
+
+
+ {{ !init_blank_normal(props.item) ? props.item.methode_name : '' }}
+ create
+ |
+
+
+
+
+
+
+ library_books
+
+
+
+
+ Internal
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ save_text }}
+
+ Close
+
+
+
+
+
+ {{ snackbar_interface.text }}
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReRerunResult.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReRerunResult.vue
new file mode 100644
index 0000000..61b63af
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReRerunResult.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+
+
+ {{get_instrument_date(props.item)}}
+ |
+
+ {{ props.item.instrument_name }}
+ |
+
+ {{ props.item.result }}
+ |
+
+
+
+ get_app
+
+ |
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReResultTemplateNew.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReResultTemplateNew.vue
new file mode 100644
index 0000000..96754f5
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReResultTemplateNew.vue
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReSearchBox.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReSearchBox.vue
new file mode 100644
index 0000000..5003692
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessReSearchBox.vue
@@ -0,0 +1,485 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
+
+ Lampiran
+
+
+
+
+ Tutup Lampiran
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup Lampiran
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FPP
+
+
+
+
+
+
+
+
+ Import Interface
+
+
+
+
+
+
+
+ cloud_upload
+
+
+
+
+
+ colorize
+
+
+
+
+
+
+
+
+
+
+ Re. Age
+
+
+
+ info
+
+
+
+ library_books
+
+
+
+ Histori
+
+
+
+ Simpan
+ save_alt
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRiDialogNote.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRiDialogNote.vue
new file mode 100644
index 0000000..7b59fbc
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessRiDialogNote.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessWorklistReceiveList.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessWorklistReceiveList.vue
new file mode 100644
index 0000000..7ce4ace
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneProcessWorklistReceiveList.vue
@@ -0,0 +1,97 @@
+
+
+
+
+ DAFTAR PASIEN
+
+
+
+
+
+ {{ props.item.T_OrderHeaderLabNumber }}
+ |
+
+ {{ props.item.M_PatientName }}
+ |
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultCytologi.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultCytologi.vue
new file mode 100644
index 0000000..8aede1c
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultCytologi.vue
@@ -0,0 +1,109 @@
+
+
+
+
+
+ CYTOLOGI
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultFNA.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultFNA.vue
new file mode 100644
index 0000000..fdf8747
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultFNA.vue
@@ -0,0 +1,170 @@
+
+
+
+
+
+ FNA
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Upload
+
+
+ Pilih 2 foto ya
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultFNA.vue--180920 b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultFNA.vue--180920
new file mode 100644
index 0000000..5f66926
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultFNA.vue--180920
@@ -0,0 +1,170 @@
+
+
+
+
+
+ FNA
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Upload
+
+
+ Pilih 2 foto ya
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultLcprep.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultLcprep.vue
new file mode 100644
index 0000000..2273250
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultLcprep.vue
@@ -0,0 +1,253 @@
+
+
+
+
+
+ PAP SMEAR (LCPrep)
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+ ADEKUASI BAHAN PEMERIKSAAN
+
+
+
+
+
+
+
+
+ KATEGORI UMUM
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{subgroups.subgroup_name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultMikro.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultMikro.vue
new file mode 100644
index 0000000..adad367
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultMikro.vue
@@ -0,0 +1,362 @@
+
+
+
+
+
+ Mikro
+
+
+
+
+
+ Hasilnya apa ? jangan lupa ya ...
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+ Bakterinya ? jangan lupa ya ...
+
+
+
+
+
+ Hasil Lainnya : harus diisi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | No. |
+ Jenis Obat |
+ Standart |
+ Test |
+ Keterangan |
+
+
+ | R < |
+ =< I = |
+ S >= |
+
+
+
+
+ | {{detail.xno}} |
+ {{detail.T_AntibioticName}} |
+ {{detail.T_AntibioticNoteR}} |
+ {{detail.T_AntibioticNoteI}} |
+ {{detail.T_AntibioticNoteS}} |
+
+
+ |
+
+ R
+ R
+ I
+ I
+ S
+ S
+ |
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultPapsmear.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultPapsmear.vue
new file mode 100644
index 0000000..7e5581f
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultPapsmear.vue
@@ -0,0 +1,255 @@
+
+
+
+
+
+ PAP SMEAR
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+ Bahan dari :
+
+
+
+
+
+
+
+
+
+ close
+ check
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ close
+ check
+
+
+
+
+
+
+
+
+ Kategori keganasan :
+
+
+
+
+ close
+ check
+ {{category.name}}
+
+
+
+
+
+
+
+ Index maturasi :
+
+
+
+
+ M.I
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultPreparasiSperma.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultPreparasiSperma.vue
new file mode 100644
index 0000000..22277e8
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/components/oneResultPreparasiSperma.vue
@@ -0,0 +1,337 @@
+
+
+
+
+
+ PREPARASI SPERMA
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+ Pre Preparasi
+
+
+ Motilitas
+
+
+
+
+
+
+
+
+
+
+
+ Konsentrasi
+
+
+
+
+
+ Kontaminan
+
+
+
+
+
+
+
+ Post Preparasi
+
+
+ Motilitas
+
+
+
+
+
+
+
+
+
+
+
+ Konsentrasi
+
+
+
+
+
+ Kontaminan
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Upload | PRE
+
+
+
+
+
+ Pilih 1 foto ya
+
+
+
+
+
+
+
+
+
+ Upload | POST
+
+
+
+
+
+
+ Pilih 1 foto ya
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PRE IMAGE
+
+
+
+
+
+
+
+
+
+ POST IMAGE
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/index.php b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/index.php
new file mode 100644
index 0000000..53cce1c
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/index.php
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+ One
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/company.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/company.js
new file mode 100644
index 0000000..39b99b2
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/company.js
@@ -0,0 +1,55 @@
+import * as api from "../api/company.js"
+
+export default {
+ namespaced: true,
+ state: {
+ loading: false,
+ company: { M_CompanyID : 0 , M_CompanyName : 'All'},
+ companies: [],
+ error: '',
+ token: {}
+ },
+ mutations: {
+ update_loading(state,status) {
+ state.loading= status
+ },
+ update_company(state,status) {
+ state.company= status
+ },
+ update_companies(state,status) {
+ state.companies= status
+ },
+ update_error(state,status) {
+ state.error= status
+ },
+ update_token(state,status) {
+ state.token= status
+ },
+ },
+ actions: {
+ async search(context,qry) {
+ context.commit("update_loading", true)
+ try {
+ let token = context.state.token
+ if (token.hasOwnProperty("token")) {
+ token.cancel()
+ }
+ token = axios.CancelToken.source()
+ context.commit("update_token",token)
+
+ let resp= await api.search(one_token(),qry, token.token)
+ if (resp.status != "OK") {
+ context.commit("update_loading", false)
+ context.commit("update_error", resp.message)
+ } else {
+ context.commit("update_loading",false)
+ context.commit("update_error","")
+ context.commit('update_companies',resp.data.data)
+ }
+ } catch(e) {
+ context.commit("update_loading",false)
+ context.commit("update_error",e.message )
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/helper.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/helper.js
new file mode 100644
index 0000000..aa84fb2
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/helper.js
@@ -0,0 +1,53 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/helper.js"
+
+export default {
+ namespaced: true,
+ state: {
+ loading:false,
+ error:''
+ },
+ mutations: {
+ update_calc_age_status(state,value) {
+ state.loading= value
+ },
+ update_error(state,value) {
+ state.error= value
+ },
+ update_loading(state,value) {
+ state.loading = value
+ }
+ },
+ actions: {
+ async calc_age(context,orderID) {
+ context.commit("update_loading", true)
+ try {
+ let prm = { orderID }
+ prm["token"] = one_token()
+ let resp = await api.calc_age(prm)
+ if (resp.status != "OK") {
+ context.commit("update_error", resp.message)
+ } else {
+ context.commit("update_error", "")
+ let patient = context.rootState.re_patient.selected_patient
+ let dob = resp.data.M_PatientDOB
+ let age = resp.data.T_OrderHeaderM_PatientAge
+ patient.M_PatientDOB = dob
+ patient.T_OrderHeaderM_PatientAge = age
+ context.rootState.commit("re_patient/update_selected_patient", patient)
+ let patients = context.rootState.patients
+ for( let idx =0; idx < patients.length ; idx++) {
+ if (patients[idx].M_PatientID = patient.M_PatientID ) {
+ patients[idx] = patient
+ }
+ }
+ context.rootState.commit('re_patient/update_patients',patients)
+ }
+ } catch (e) {
+ context.commit("update_error", e.message)
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_cytologi.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_cytologi.js
new file mode 100644
index 0000000..30e642d
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_cytologi.js
@@ -0,0 +1,140 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_cytologi:false,
+ diagnosis_klinis:'',
+ makroskopis:'',
+ mikroskopis:'',
+ kesimpulan:'',
+ saran:'',
+ selected_cytologi:{},
+ results:[],
+ doctors:[],
+ selected_doctor:{},
+ onprocess:false
+ },
+ mutations: {
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_fna(state,value) {
+ state.selected_fna = value
+ },
+ update_dialog_cytologi(state,value) {
+ state.dialog_cytologi = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_makroskopis(state,value) {
+ state.makroskopis = value
+ },
+ update_mikroskopis(state,value) {
+ state.mikroskopis = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_cytologiresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ console.log(prm)
+ prm.token = one_token()
+ console.log("wweee")
+ let resp = await api.getcytologiresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_results", data.records['results'])
+ context.commit("update_doctors", data.records['doctors'])
+ var selected_doctor = {
+ id:data.records['results'][0]['doctor_id'],
+ name:data.records['results'][0]['doctor_name']
+ }
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_cytologi", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_cytologi", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_cytologi(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_cytologi(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_cytologi", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_fna.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_fna.js
new file mode 100644
index 0000000..77959be
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_fna.js
@@ -0,0 +1,170 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_fna:false,
+ diagnosis_klinis:'',
+ makroskopis:'',
+ mikroskopis:'',
+ kesimpulan:'',
+ saran:'',
+ selected_fna:{},
+ results:[],
+ doctors:[],
+ selected_doctor:{},
+ onprocess:false,
+ images:[],
+ show_progrees_upload:false
+ },
+ mutations: {
+ update_show_progrees_upload(state,value) {
+ state.show_progrees_upload = value
+ },
+ update_images(state,value) {
+ state.images = value
+ },
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_fna(state,value) {
+ state.selected_fna = value
+ },
+ update_dialog_fna(state,value) {
+ state.dialog_fna = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_makroskopis(state,value) {
+ state.makroskopis = value
+ },
+ update_mikroskopis(state,value) {
+ state.mikroskopis = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_fnaresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getfnaresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_results", data.records['results'])
+ context.commit("update_doctors", data.records['doctors'])
+ context.commit("update_images", data.records['images'])
+ var selected_doctor = {
+ id:data.records['results'][0]['doctor_id'],
+ name:data.records['results'][0]['doctor_name']
+ }
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_fna(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_fna(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_fna", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ },
+ async uploadimage(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ // prm.token = one_token()
+ let resp = await api.uploadimage(prm)
+ if (resp.status != "OK") {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_images", data.records)
+ }
+ } catch (e) {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_history.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_history.js
new file mode 100644
index 0000000..e858918
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_history.js
@@ -0,0 +1,79 @@
+import * as api from "../api/re_history.js"
+
+export default {
+ namespaced: true,
+ state: {
+ order_id:0,
+ search_status:0,
+ search_error_message:'',
+ result: [],
+ selected_px:[] ,
+ dates: [],
+ pxs: [],
+ patient_note : "",
+
+ dialog_history: false,
+ selected_tab: 0
+ },
+ mutations: {
+ update_search_error_message(state,status) {
+ state.search_error_message = status
+ },
+ update_search_status(state,status) {
+ state.search_status = status
+ },
+ update_id(state, id) {
+ state.order_id = id
+ },
+ update_dates(state, dates) {
+ state.dates= dates
+ },
+ update_result(state, result) {
+ state.result= result
+ },
+ update_pxs(state, pxs) {
+ state.pxs = pxs
+ },
+ update_selected_px(state, px) {
+ state.selected_px = px
+ },
+
+ update_dialog_history(state, v) {
+ state.dialog_history = v
+ },
+
+ // patient note
+ update_patient_note(state, v) {
+ state.patient_note= v
+ },
+ },
+ actions: {
+ async history(context) {
+ context.commit("update_search_status", 1)
+ try {
+ context.commit('update_pxs', [])
+ context.commit('update_result', [])
+ context.commit('update_dates', [])
+ let resp= await api.history(one_token(), context.rootState.re_patient.selected_patient.T_OrderHeaderID)
+ if (resp.status != "OK") {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ context.commit('update_result', resp.data.result)
+ context.commit('update_selected_px', resp.data.pxs)
+ context.commit('update_pxs', resp.data.pxs)
+ context.commit('update_dates',resp.data.dates)
+
+ // patient note
+ context.commit('update_patient_note',resp.data.patient_note)
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_lcprep.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_lcprep.js
new file mode 100644
index 0000000..08505f6
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_lcprep.js
@@ -0,0 +1,158 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_lcprep:false,
+ diagnosis_klinis:'',
+ makroskopis:'',
+ mikroskopis:'',
+ kesimpulan:'',
+ saran:'',
+ selected_lcprep:{},
+ results:[],
+ doctors:[],
+ selected_doctor:{},
+ adekuasi:[],
+ kategoriumum:[],
+ interpretasi:[],
+ maturasi:[],
+ onprocess:false
+ },
+ mutations: {
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_maturasi(state,value) {
+ state.maturasi = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_adekuasi(state,value) {
+ state.adekuasi = value
+ },
+ update_kategoriumum(state,value) {
+ state.kategoriumum = value
+ },
+ update_interpretasi(state,value) {
+ state.interpretasi = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_lcprep(state,value) {
+ state.selected_lcprep = value
+ },
+ update_dialog_lcprep(state,value) {
+ state.dialog_lcprep = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_makroskopis(state,value) {
+ state.makroskopis = value
+ },
+ update_mikroskopis(state,value) {
+ state.mikroskopis = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_lcprepresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getlcprepresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_results", data.records['results'])
+ context.commit("update_adekuasi", data.records['adekuasi'])
+ context.commit("update_kategoriumum", data.records['kategoriumum'])
+ context.commit("update_interpretasi", data.records['interpretasi'])
+ context.commit("update_doctors", data.records['doctors'])
+ var selected_doctor = {
+ id:data.records['results'][0]['doctor_id'],
+ name:data.records['results'][0]['doctor_name']
+ }
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_lcprep", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_lcprep(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_lcprep(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_lcprep", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_mikro.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_mikro.js
new file mode 100644
index 0000000..cc15830
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_mikro.js
@@ -0,0 +1,226 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_mikro:false,
+ diagnosis_klinis:'',
+ hasil_biakan:'',
+ sample_name:'',
+ kesimpulan:'',
+ saran:'',
+ result_other:'',
+ selected_mikro:{},
+ results:{xid:'0',orderdetail_id:'0',T_BacteriaID:'0',T_BacteriaName:'',doctor_id:'0',doctor_name:'',details:[]},
+ doctors:[],
+ selected_doctor:{},
+ adekuasi:[],
+ kategoriumum:[],
+ interpretasi:[],
+ maturasi:[],
+ bacteries:[],
+ selected_bacteria:{},
+ result_values:[{id:'Negatif',value:'Negatif'},{id:'Positif',value:'Positif'},{id:'other',value:'Lainnya'}],
+ selected_result_value:{id:'Negatif',value:'Negatif'},
+ disable_save:false,
+ onprocess:false
+ },
+ mutations: {
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_disable_save(state,value) {
+ state.disable_save = value
+ },
+ update_result_other(state,value) {
+ state.result_other = value
+ },
+ update_result_values(state,value) {
+ state.result_values = value
+ },
+ update_selected_result_value(state,value) {
+ state.selected_result_value = value
+ },
+ update_bacteries(state,value) {
+ state.bacteries = value
+ },
+ update_selected_bacteria(state,value) {
+ state.selected_bacteria = value
+ },
+ update_maturasi(state,value) {
+ state.maturasi = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_adekuasi(state,value) {
+ state.adekuasi = value
+ },
+ update_kategoriumum(state,value) {
+ state.kategoriumum = value
+ },
+ update_interpretasi(state,value) {
+ state.interpretasi = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_mikro(state,value) {
+ state.selected_mikro = value
+ },
+ update_dialog_mikro(state,value) {
+ state.dialog_mikro = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_hasil_biakan(state,value) {
+ state.hasil_biakan = value
+ },
+ update_sample_name(state,value) {
+ state.sample_name = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_mikroresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getmikroresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_selected_bacteria",{})
+ context.commit("update_selected_doctor", {})
+ // context.commit("update_results", {xid:'0',orderdetail_id:'0',T_BacteriaID:'0',T_BacteriaName:'',doctor_id:'0',doctor_name:'',details:[]})
+
+ context.commit("update_doctors", data.records['doctors'])
+ context.commit("update_bacteries", data.records['bacteries'])
+
+ if(!_.isEmpty(data.records['results'])){
+ context.commit("update_results", data.records['results'])
+ var rows = data.records['results']
+ context.commit("update_selected_bacteria",{id:rows['T_BacteriaID'],name:rows['T_BacteriaName']})
+ var selected_doctor = {
+ id:rows['doctor_id'],
+ name:rows['doctor_name']
+ }
+
+ context.commit("update_selected_doctor", selected_doctor)
+ var selected_result_vaue = {
+ id:rows['result_value'],
+ value:rows['result_value']
+ }
+ if(rows['result_value'] === 'other'){
+ selected_result_vaue = {
+ id:'other',
+ value:'Lainnya'
+ }
+ }
+
+ context.commit("update_selected_result_value", selected_result_vaue)
+ }
+ context.commit("update_dialog_mikro", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async getantibiotics(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getantibiotics(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ var results = context.state.results
+ results.details = data.records
+ context.commit("update_results", results)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_mikro(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ //context.dispatch("update_disable_save",true)
+ prm.token = one_token()
+ let resp = await api.saveresult_mikro(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_disable_save",false)
+ context.commit("update_dialog_mikro", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_disable_save",false)
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_normal.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_normal.js
new file mode 100644
index 0000000..c9f9760
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_normal.js
@@ -0,0 +1,191 @@
+import * as api from "../api/re_normal.js"
+
+export default {
+ namespaced: true,
+ state: {
+ error:'',
+ status:0,
+ result: {}
+ },
+ mutations: {
+ update_error(state,status) {
+ state.error = status
+ },
+ update_status(state,status) {
+ state.status= status
+ },
+ update_result(state,status) {
+ state.result= status
+ },
+ },
+ actions: {
+ async update(context,order_detail_id) {
+ context.commit("update_error", "")
+ context.commit("update_status", 1)
+ context.commit("update_result", {})
+ try {
+ let g_id = 0
+ let resp= await api.update(one_token(),order_detail_id )
+ if (resp.status != "OK") {
+ context.commit("update_status", 3)
+ context.commit("update_error", resp.message)
+ } else {
+ context.commit("update_status", 2)
+ context.commit("update_error","")
+ let data = resp.data.records
+ context.commit("update_result", data)
+ }
+ } catch(e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async save(context) {
+ let data = []
+ let x = context.state.pxs
+ let rerun = context.state.selected_rerun
+ for (let i in x) {
+ let y = x[i]
+ if ((y.result != null && y.result != y.result_old) || (y.note != y.note_old)) {
+ let resultInstrumentID = 0
+ if ( y.hasOwnProperty('resultInstrumentID') ) {
+ resultInstrumentID = y.resultInstrumentID
+ }
+ data.push({id:y.id, result:y.result, note:y.note, test_id:y.t_testid, test_name:y.t_testname,
+ resultInstrumentID,
+ order_id:context.state.order_id})
+ }
+
+ }
+
+ if (data.length < 1) {
+ alert('Tidak ada data yang perlu disimpan !')
+ return
+ }
+
+ try {
+ let ptn = context.rootState.re_patient
+ let resp= await api.save(one_token(), ptn.lang_id, ptn.lang_si, JSON.stringify(data))
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ context.dispatch("search")
+ context.commit("update_snackbar", true)
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async save_template(context) {
+
+ try {
+ let resp= await api.save_template(one_token(), context.state.selected_px.t_testid, context.state.template_new_value)
+
+ if (resp.status != "OK") {
+ context.commit('update_dup_template_error', {status:true, messages:'Value tersebut sudah ada !'})
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ context.commit("update_dialog_template_new", false)
+
+ let pxs = context.state.pxs
+ for (let i in pxs) {
+ if (pxs[i].t_testid == context.state.selected_px.t_testid)
+ pxs[i].template = resp.data
+ }
+
+ context.commit('update_dup_template_error', {status:false, messages:''})
+ context.commit('update_pxs', {records:pxs, total:context.state.total_px})
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async lang_export(context) {
+
+ try {
+ let sp = context.rootState.re_patient
+ let resp= await api.lang_export(one_token(), sp.selected_patient.T_OrderHeaderID,
+ sp.lang_id, sp.lang_si)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ context.dispatch("search")
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async search_group(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp= await api.search_group()
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message","")
+
+ let data = {
+ records : resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_groups", data)
+ }
+ } catch(e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async search_rerun(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp= await api.search_rerun(context.state.selected_px.id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message","")
+
+ context.commit("update_reruns", resp.data)
+ }
+ } catch(e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message",e.message )
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_normal_method.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_normal_method.js
new file mode 100644
index 0000000..c89fd01
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_normal_method.js
@@ -0,0 +1,122 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_normal_method.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ order_id: 0,
+ nattest_id: 0,
+
+ search_status:0,
+ search_error_message:'',
+ search_dialog_is_active: false,
+
+ methods: [],
+ selected_method: null,
+ normals: [],
+ selected_normal: null,
+
+ dialog_method: false,
+ dialog_normal: false
+
+ },
+ mutations: {
+ update_search_dialog_is_active(state,status) {
+ state.search_dialog_is_active = status
+ },
+ update_search_error_message(state,status) {
+ state.search_error_message = status
+ },
+
+ update_search_status(state,status) {
+ state.search_status = status
+ },
+
+ update_id(state, id) {
+ state.order_id = id
+ },
+
+ update_nattest_id(state, id) {
+ state.nattest_id = id
+ },
+
+ update_methods(state, d) {
+ state.methods = d.records
+ },
+
+ update_selected_method(state, d) {
+ state.selected_method = d
+ },
+
+ update_normals(state, d) {
+ state.normals = d.records
+ },
+
+ update_selected_normal(state, d) {
+ state.selected_normal = d
+ },
+
+ update_dialog_method(state, v) {
+ state.dialog_method = v
+ },
+
+ update_dialog_normal(state, v) {
+ state.dialog_normal = v
+ }
+ },
+ actions: {
+ async search_method(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp = await api.search_method(one_token(), context.state.nattest_id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message","")
+
+ let data = {
+ records : resp.data.records
+ }
+ context.commit("update_methods", data)
+ }
+ } catch(e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async save_method(context) {
+ try {
+
+ let resp = await api.save_method(one_token(), context.state.order_id, context.state.selected_method.Nat_MethodeID)
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ let x = context.rootState.re_px.selected_px
+ x.methode_id = resp.data.data.method_id
+ x.methode_name = resp.data.data.method_name
+ x.normal_id = resp.data.data.normal_id
+ x.normal_note = resp.data.data.normal_note
+ context.commit('re_px/update_selected_px', x, {root:true})
+ context.commit("update_dialog_method", false)
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_papsmear.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_papsmear.js
new file mode 100644
index 0000000..28911cc
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_papsmear.js
@@ -0,0 +1,159 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_papsmear:false,
+ diagnosis_klinis:'',
+ makroskopis:'',
+ mikroskopis:'',
+ kesimpulan:'',
+ saran:'',
+ selected_papsmear:{},
+ results:[],
+ doctors:[],
+ selected_doctor:{},
+ checks:[],
+ bahans:[],
+ categories:[],
+ maturasi:[],
+ onprocess:false
+ },
+ mutations: {
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_maturasi(state,value) {
+ state.maturasi = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_checks(state,value) {
+ state.checks = value
+ },
+ update_bahans(state,value) {
+ state.bahans = value
+ },
+ update_categories(state,value) {
+ state.categories = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_papsmear(state,value) {
+ state.selected_papsmear = value
+ },
+ update_dialog_papsmear(state,value) {
+ state.dialog_papsmear = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_makroskopis(state,value) {
+ state.makroskopis = value
+ },
+ update_mikroskopis(state,value) {
+ state.mikroskopis = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_papsmearresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getpapsmearresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_results", data.records['results'])
+ context.commit("update_checks", data.records['checks'])
+ context.commit("update_bahans", data.records['bahans'])
+ context.commit("update_maturasi", data.records['maturasi'])
+ context.commit("update_categories", data.records['categories'])
+ context.commit("update_doctors", data.records['doctors'])
+ var selected_doctor = {
+ id:data.records['results'][0]['doctor_id'],
+ name:data.records['results'][0]['doctor_name']
+ }
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_papsmear", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_papsmear(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_papsmear(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_papsmear", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_patient.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_patient.js
new file mode 100644
index 0000000..bbd341a
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_patient.js
@@ -0,0 +1,255 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_patient.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ order_id: 0,
+ search: '',
+ nolab: '',
+ sdate: new Date().toISOString().substr(0, 10),
+ edate: null,
+
+ search_status: 0,
+ search_error_message: '',
+ search_dialog_is_active: false,
+
+ patients: [],
+ total_patient: 0,
+ total_patient_page: 0,
+ curr_patient_page: 1,
+ selected_patient: {},
+
+
+ // PX
+ total_px: 0,
+ pxs: [],
+
+ langs: [],
+ lang_code: "ID",
+ lang_id: 0,
+ lang_si: "N",
+
+ dialog_req: false,
+ dialog_note: false,
+ result_note: '',
+ info_req: { req_fo: [], req_spec_col: [], req_spec_ver: [], req_samp_ver: [], req_pre_an: [] },
+
+ // ITF
+ Itf: "",
+ BrnListBarcode: ""
+ },
+ mutations: {
+ // ITF
+ update_Itf(state, val) {
+ state.Itf = val
+ },
+ update_BrnListBarcode(state, val) {
+ state.BrnListBarcode = val
+ },
+
+ update_search_dialog_is_active(state, status) {
+ state.search_dialog_is_active = status
+ },
+ update_search_error_message(state, status) {
+ state.search_error_message = status
+ },
+
+ update_search(state, val) {
+ state.search = val
+ },
+
+ update_nolab(state, val) {
+ state.nolab = val
+ },
+
+ update_search_status(state, status) {
+ state.search_status = status
+ },
+
+ update_patients(state, data) {
+ state.patients = data.records
+ state.total_patient = data.total
+ state.total_patient_page = data.total_page
+ },
+
+ update_curr_patient_page(state, data) {
+ state.curr_patient_page = data
+ },
+
+ update_selected_patient(state, val) {
+ state.selected_patient = val
+ if (val) {
+ state.langs = val.lang
+
+ state.lang_code = val.lang[0].code
+ state.lang_id = val.lang[0].id
+ state.lang_si = val.lang[0].is_si
+
+ state.result_note = val.T_OrderHeaderResultNote
+ } else {
+ state.langs = []
+ state.lang_code =
+ state.lang_id =
+ state.lang_si = null
+ state.result_note = ""
+ }
+
+ },
+
+ update_id(state, id) {
+ state.order_id = id
+ },
+
+ update_pxs(state, pxs) {
+ state.pxs = pxs.records
+ },
+
+ update_sdate(state, date) {
+ state.sdate = date
+ },
+
+ update_edate(state, date) {
+ state.edate = date
+ },
+
+ update_lang(state, lang) {
+ state.lang_code = lang.code
+ state.lang_id = lang.id
+ state.lang_si = lang.is_si
+ },
+
+ update_dialog_note(state, v) {
+ state.dialog_note = v
+ },
+
+ update_result_note(state, v) {
+ state.result_note = v
+ },
+
+ update_info_req(state, v) {
+ state.info_req = v
+ },
+
+ update_dialog_req(state, v) {
+ state.dialog_req = v
+ }
+ },
+ actions: {
+ async search(context) {
+ context.commit("update_search_status", 1)
+ try {
+ let g_id = 0
+ if (context.rootState.re_px.selected_group)
+ g_id = context.rootState.re_px.selected_group.group_id
+
+ let inp_no = context.state.search
+ if (inp_no.length == 9 && inp_no.substr(0, 2) == "ZL") {
+ inp_no = await window.xno(inp_no)
+ }
+ let company_id = 0
+ if (context.rootState.company.company) {
+ company_id = context.rootState.company.company.M_CompanyID
+ }
+ let resp = await api.search(one_token(), context.state.sdate, inp_no, g_id, context.state.curr_patient_page, company_id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total,
+ total_page: resp.data.total_page
+ }
+
+ // attachment obj
+ let objAttachment = resp.data.attachment;
+ console.log("DARI SERVER ATTACHMENT RE_PATIENT ", resp.data.attachment)
+
+ // update object attachment
+ context.commit("re_px/update_obj_attachment", objAttachment, { root: true })
+
+ context.commit("update_patients", data)
+
+ if (data.records.length < 1) {
+ context.commit('update_selected_patient', null)
+ context.commit('re_px/update_pxs', [], { root: true })
+ // update order_id state jika data tidak ada
+ context.commit('re_px/update_id', 0, { root: true })
+ }
+ else {
+ context.commit('update_selected_patient', data.records[0])
+ context.commit('re_px/update_id', data.records[0].T_OrderHeaderID, { root: true })
+ context.dispatch('re_px/search', null, { root: true })
+
+ context.dispatch('info_req')
+ }
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async save_note(context) {
+ context.commit("update_search_status", 1)
+ try {
+ let resp = await api.save_note(one_token(), context.state.selected_patient.T_OrderHeaderID, context.state.result_note)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+ console.log(resp)
+
+ context.commit('update_dialog_note', false)
+ let x = context.state.selected_patient
+ let y = context.state.patients
+ for (let i in y)
+ if (x.T_OrderHeaderID == y[i].T_OrderHeaderID)
+ y[i].T_OrderHeaderResultNote = context.state.result_note
+
+ context.commit("update_patients", {
+ records: y,
+ total: context.state.total_patient,
+ total_page: context.state.total_patient_page
+ })
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async info_req(context) {
+ context.commit("update_search_status", 1)
+ try {
+ let resp = await api.info_req(one_token(), context.state.selected_patient.T_OrderHeaderID)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.commit('update_info_req', resp.data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_preparasisperma.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_preparasisperma.js
new file mode 100644
index 0000000..0e98468
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_preparasisperma.js
@@ -0,0 +1,175 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_preparasisperma:false,
+ results:{},
+ doctors:[],
+ selected_doctor:{},
+ onprocess:false,
+ images:[],
+ pre_image:{},
+ post_image:{},
+ show_progrees_upload:false,
+ selected_preparasisperma:{}
+ },
+ mutations: {
+ update_selected_preparasisperma(state,value) {
+ state.selected_preparasisperma = value
+ },
+ update_show_progrees_upload(state,value) {
+ state.show_progrees_upload = value
+ },
+ update_pre_image(state,value) {
+ state.pre_image = value
+ },
+ update_post_image(state,value) {
+ state.post_image = value
+ },
+ update_images(state,value) {
+ state.images = value
+ },
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_dialog_preparasisperma(state,value) {
+ state.dialog_preparasisperma = value
+ }
+ },
+ actions: {
+ async get_preparasispermaresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getpreparasispermaresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_results", data.records['results'])
+ context.commit("update_doctors", data.records['doctors'])
+ context.commit("update_post_image", '')
+ context.commit("update_pre_image", '')
+ if(data.records['images']){
+ data.records['images'].forEach(function(image) {
+ if(image.type == 'PRE'){
+ context.commit("update_pre_image", image)
+ }
+ else{
+ context.commit("update_post_image", image)
+ }
+ })
+ }
+
+ var selected_doctor = {
+ id:data.records['results']['doctor_id'],
+ name:data.records['results']['doctor_name']
+ }
+ console.log(selected_doctor)
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_preparasisperma", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors_preparasi_sperma(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors_preparasi_sperma(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_preparasisperma", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_preparasi_sperma(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_preparasisperma", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ },
+ async uploadimage_preparasi_sperma(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ // prm.token = one_token()
+ let resp = await api.uploadimage_preparasi_sperma(prm)
+ if (resp.status != "OK") {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_show_progrees_upload", false)
+
+ if(data.records[0].type === 'PRE')
+ context.commit("update_pre_image", data.records[0])
+ else
+ context.commit("update_post_image", data.records[0])
+ }
+ } catch (e) {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_px.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_px.js
new file mode 100644
index 0000000..410b293
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/modules/re_px.js
@@ -0,0 +1,501 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ order_id: 0,
+
+ search_status: 0,
+ search_error_message: '',
+ search_dialog_is_active: false,
+
+ // PX
+ total_px: 0,
+ pxs: [],
+ selected_px: {},
+ selected_px_idx: 0,
+
+ // template
+ dialog_template_new: false,
+ template_new_value: "",
+ dup_template_error: { status: false, messages: '' },
+
+ groups: [{ group_id: '1', group_name: 'DUMMY - KIMIA' }, { group_id: '2', group_name: 'DUMMY - HEMATOLOGI' }],
+ selected_group: {},
+
+ reruns: [{ date: '2019-07-10 08:00', instrument: 'COBAS', result: '56' }, { date: '2019-07-10 08:20', instrument: 'COBAS', result: '68' }],
+ selected_rerun: {},
+ dialog_rerun: false,
+ snackbar: false,
+ fpp: '',
+ dialog_fpp: false,
+ dialog_barcode_list: false,
+ dialog_upload_file: false,
+ photo_64: '',
+ photo_64_lab: '',
+ show_progrees_upload: false,
+ save_status: 0,
+ save_error_message_lampiran: '',
+ snackbar_interface: { value: false, color: 'success', text: '' },
+
+ // attachment
+ dialog_attachment: false,
+ obj_attachment: {},
+
+ // result note row
+ dialog_result_note_row: false,
+ result_note_rows: [],
+ },
+ mutations: {
+ // result note row
+ update_dialog_result_note_row(state, value) {
+ state.dialog_result_note_row = value
+ },
+
+ update_result_note_rows(state, result_note_rows) {
+ state.result_note_rows = result_note_rows.records
+ },
+
+ // ATTACHMENT START
+ update_dialog_attachment(state, value) {
+ state.dialog_attachment = value
+ },
+ update_obj_attachment(state, value) {
+ state.obj_attachment = value
+ },
+ // ATTACHMENT END
+
+ update_save_error_message_lampiran(state, status) {
+ state.save_error_message_lampiran = status
+ },
+ update_save_status(state, value) {
+ state.save_status = value
+ },
+ // update foto state
+ update_show_progrees_upload(state, value) {
+ state.show_progrees_upload = value
+ },
+
+ update_photo_64(state, data) {
+ state.photo_64 = data
+ },
+
+ update_photo_64_lab(state, data) {
+ state.photo_64_lab = data
+ },
+
+ // upload file dialog
+ update_dialog_upload_file(state, value) {
+ state.dialog_upload_file = value
+ },
+
+ // barcode list
+ update_dialog_barcode_list(state, value) {
+ state.dialog_barcode_list = value
+ },
+ update_snackbar_interface(state, v) {
+ state.snackbar_interface = v
+ },
+ // end barcode list
+ update_dialog_fpp(state, value) {
+ state.dialog_fpp = value
+ },
+ update_fpp(state, value) {
+ state.fpp = value
+ },
+ update_search_dialog_is_active(state, status) {
+ state.search_dialog_is_active = status
+ },
+ update_search_error_message(state, status) {
+ state.search_error_message = status
+ },
+
+ update_search_status(state, status) {
+ state.search_status = status
+ },
+
+ update_id(state, id) {
+ state.order_id = id
+ },
+
+ update_pxs(state, pxs) {
+ state.pxs = pxs.records
+ },
+
+ update_selected_px(state, px) {
+ state.selected_px = px
+ },
+
+ update_selected_px_idx(state, idx) {
+ state.selected_px_idx = idx
+ },
+
+ update_selected_group(state, group) {
+ state.selected_group = group
+ },
+
+ update_dialog_rerun(state, v) {
+ state.dialog_rerun = v
+ },
+
+ update_reruns(state, reruns) {
+ state.reruns = reruns.records
+ },
+
+ update_selected_rerun(state, rerun) {
+ state.selected_rerun = rerun
+ },
+
+ update_snackbar(state, v) {
+ state.snackbar = v
+ },
+
+ update_dialog_template_new(state, v) {
+ state.dialog_template_new = v
+ },
+
+ update_template_new_value(state, v) {
+ state.template_new_value = v
+ },
+
+ update_dup_template_error(state, v) {
+ state.dup_template_error = v
+ },
+
+ update_groups(state, v) {
+ state.groups = v.records
+ }
+ },
+ actions: {
+ // update result_note_row
+ async save_result_note_row(context, prm) {
+ try {
+ let ptn = context.rootState.re_patient
+ let resp = await api.save_result_note_row(prm)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.dispatch("search")
+ context.commit("update_snackbar", true)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ // get_result_note_by_nat_test_id
+ async get_result_note_by_nat_test_id(context, prm) {
+ context.commit("update_search_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ // prm.token = one_token()
+ let resp = await api.get_result_note_by_nat_test_id(prm)
+ if (resp.status != "OK") {
+ console.log("respon server ", resp.message);
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_search_status", 3)
+ // context.commit("update_save_error_message_lampiran", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ // context.commit("update_save_error_message_lampiran", "")
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ // context.commit("update_show_progrees_upload", false)
+
+ // context.dispatch("search")
+ context.commit("update_result_note_rows", data)
+ context.commit("update_dialog_result_note_row", true)
+ // context.commit("update_snackbar", true)
+ }
+ } catch (e) {
+ context.commit("update_dialog_result_note_row", false)
+ context.commit("update_search_status", 3)
+ context.commit("update_save_error_message_lampiran", e.message)
+ }
+ },
+
+ // upload file
+ async uploadimage_lampiran(context, prm) {
+ context.commit("update_search_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ // prm.token = one_token()
+ let resp = await api.uploadimage_lampiran(prm)
+ if (resp.status != "OK") {
+ console.log("respon server ", resp.message);
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_search_status", 3)
+ context.commit("update_save_error_message_lampiran", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_save_error_message_lampiran", "")
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_show_progrees_upload", false)
+
+ context.dispatch("search")
+ context.commit("update_dialog_upload_file", false)
+ context.commit("update_snackbar", true)
+
+ // if (data.records[0].type === 'PRE')
+ // context.commit("update_pre_image", data.records[0])
+ // else
+ // context.commit("update_post_image", data.records[0])
+ }
+ } catch (e) {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_search_status", 3)
+ context.commit("update_save_error_message_lampiran", e.message)
+ }
+ },
+
+ // import interface
+ async importInterface(context, prm) {
+ var itfNoReg = prm.ItfNoReg;
+ context.commit("update_search_status", 1)
+ try {
+ var prm = {};
+ prm.token = one_token()
+ let resp = await api.importInterface(prm, itfNoReg)
+ console.log(resp);
+ if (resp.status != "OK") {
+ context.commit("update_search_status", 3)
+ context.commit("update_snackbar_interface", { value: true, color: "error", text: resp.message })
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_snackbar_interface", { value: true, color: "success", text: "Import Succes" })
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ }
+ },
+ async search(context) {
+ context.commit("update_search_status", 1)
+ try {
+ let g_id = 0
+ if (context.state.selected_group)
+ g_id = context.state.selected_group.group_id
+ let resp = await api.search(one_token(), context.state.order_id,
+ context.rootState.re_patient.lang_id,
+ context.rootState.re_patient.lang_si,
+ g_id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ // attachment obj
+ let objAttachment = resp.data.attachment;
+ // console.log("DARI SERVER ATTACHMENT RE_PX ",resp.data.attachment)
+ // update object attachment
+ context.commit("update_obj_attachment", objAttachment)
+
+ context.commit("update_pxs", data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async save(context) {
+ let data = []
+ let x = context.state.pxs
+ let rerun = context.state.selected_rerun
+ for (let i in x) {
+ let y = x[i]
+ if ((y.result != null && y.result != y.result_old) || (y.note != y.note_old) || (y.T_OrderDetailInternalNote != y.T_OrderDetailInternalNote_old)) {
+ let resultInstrumentID = 0
+ if (y.hasOwnProperty('resultInstrumentID')) {
+ resultInstrumentID = y.resultInstrumentID
+ }
+ data.push({
+ id: y.id, result: y.result, note: y.note, T_OrderDetailInternalNote: y.T_OrderDetailInternalNote, test_id: y.t_testid, test_name: y.t_testname,
+ resultInstrumentID,
+ order_id: context.state.order_id
+ })
+ }
+
+ }
+
+ // console.log("DATA KE BE : ",JSON.stringify(data));
+ // return;
+
+ if (data.length < 1) {
+ alert('Tidak ada data yang perlu disimpan !')
+ return
+ }
+
+ try {
+
+ // console.log("DATA KE BE : ",JSON.stringify(data));
+
+ let ptn = context.rootState.re_patient
+ let resp = await api.save(one_token(), ptn.lang_id, ptn.lang_si, JSON.stringify(data))
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.dispatch("search")
+ context.commit("update_snackbar", true)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async save_template(context) {
+
+ try {
+ let resp = await api.save_template(one_token(), context.state.selected_px.t_testid, context.state.template_new_value)
+
+ if (resp.status != "OK") {
+ context.commit('update_dup_template_error', { status: true, messages: 'Value tersebut sudah ada !' })
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.commit("update_dialog_template_new", false)
+
+ let pxs = context.state.pxs
+ for (let i in pxs) {
+ if (pxs[i].t_testid == context.state.selected_px.t_testid)
+ pxs[i].template = resp.data
+ }
+
+ context.commit('update_dup_template_error', { status: false, messages: '' })
+ context.commit('update_pxs', { records: pxs, total: context.state.total_px })
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async lang_export(context) {
+
+ try {
+ let sp = context.rootState.re_patient
+ let resp = await api.lang_export(one_token(), sp.selected_patient.T_OrderHeaderID,
+ sp.lang_id, sp.lang_si)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.dispatch("search")
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async search_group(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp = await api.search_group()
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_groups", data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async search_rerun(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp = await api.search_rerun(context.state.selected_px.id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.commit("update_reruns", resp.data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+ async get_fpp(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp = await api.get_fpp(one_token(), context.state.order_id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.commit("update_fpp", resp.data.data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/company.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/company.js
new file mode 100644
index 0000000..32eb48f
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/company.js
@@ -0,0 +1,27 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+export async function search(token, qry, c_token) {
+ try {
+ var resp = await axios.post(URL + 'company/search', {
+ token: token,
+ qry: qry
+ },{ cancelToken : c_token });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data.data;
+ return {
+ status: "OK",
+ data : data
+ };
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/helper.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/helper.js
new file mode 100644
index 0000000..76f01fc
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/helper.js
@@ -0,0 +1,23 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+export async function calc_age(prm ) {
+ try {
+ var resp = await axios.post(URL + 'helper/calc_age', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ return {
+ status: "OK",
+ data : resp.data.data
+ };
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_history.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_history.js
new file mode 100644
index 0000000..f77bfa3
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_history.js
@@ -0,0 +1,25 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+ export async function history(token, order_id) {
+ try {
+ var resp = await axios.post(URL + 'history/search_v2', {
+ token: token,
+ order_id: order_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_normal.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_normal.js
new file mode 100644
index 0000000..b7a34a2
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_normal.js
@@ -0,0 +1,23 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+ export async function update(token, order_detail_id) {
+ try {
+ var resp = await axios.post(URL + 're_normal/update', {
+ token: token,
+ order_detail_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_normal_method.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_normal_method.js
new file mode 100644
index 0000000..1005082
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_normal_method.js
@@ -0,0 +1,46 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+ export async function search_method(token, nattest_id) {
+ try {
+ var resp = await axios.post(URL + 're_normal_method/search_method', {
+ token: token,
+ nattest_id: nattest_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
+
+ export async function save_method(token, detail_id, method_id) {
+ try {
+ var resp = await axios.post(URL + 're_normal_method/save_method', {
+ token: token,
+ detail_id: detail_id,
+ method_id: method_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_patient.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_patient.js
new file mode 100644
index 0000000..e7b1fb7
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_patient.js
@@ -0,0 +1,72 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+
+ export async function search(token, sdate, search, group_id, page, company_id) {
+ try {
+ var resp = await axios.post(URL + 're_patient/search', {
+ token: token,
+ start_date: sdate,
+ search: search,
+ group_id: group_id,
+ page: page,
+ company_id : company_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
+
+ export async function save_note(token, order_id, note) {
+ try {
+ var resp = await axios.post(URL + 're_patient/save_note', {
+ token: token,
+ order_id: order_id,
+ note: note
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
+
+ export async function info_req(token, order_id) {
+ try {
+ var resp = await axios.post(URL + 're_patient/info_req', {
+ token: token,
+ order_id: order_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch(e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+ }
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_px.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_px.js
new file mode 100644
index 0000000..9f5d83c
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/api/re_px.js
@@ -0,0 +1,586 @@
+const URL = "/one-api/mockup/process/resultentry-v106/";
+const portServerImportInterface = "/one-api/v1/su/portserver_kd/";
+
+// save_result_note_row
+export async function save_result_note_row(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/update_result_note_row', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+// result note row
+export async function get_result_note_by_nat_test_id(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/result_note_row_by_nat_test_id', prm);
+
+ // console.log("resp ", resp);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+// upload file
+export async function uploadimage_lampiran(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/upload_file_lampiran_by_order_id', prm, {
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ }
+ });
+
+ // console.log("resp ", resp);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+// import interface
+export async function importInterface(prm, ItfNoReg) {
+ try {
+ var resp = await axios.get(portServerImportInterface + 'fpp/' + ItfNoReg);
+ console.log("RESPON SERVER : ", resp)
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.data.message
+ };
+ } else {
+ return {
+ status: "OK",
+ message: resp.data.message
+ };
+ }
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function search(token, order_id, lang_id, lang_si, group_id) {
+ try {
+ var resp = await axios.post(URL + 're_px/search', {
+ token: token,
+ order_id: order_id,
+ lang_id: lang_id,
+ lang_si: lang_si,
+ group_id: group_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function save(token, lang_id, is_si, datax) {
+ try {
+ var resp = await axios.post(URL + 're_px/save', {
+ token: token,
+ lang_id: lang_id,
+ is_si: is_si,
+ data: datax
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function uploadimage(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/uploadimage', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function save_template(token, test_id, value) {
+ try {
+ var resp = await axios.post(URL + 're_px/save_template', {
+ token: token,
+ test_id: test_id,
+ value: value
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function lang_export(token, order_id, lang_id, is_si) {
+ try {
+ var resp = await axios.post(URL + 're_px/export', {
+ token: token,
+ order_id: order_id,
+ lang_id: lang_id,
+ is_si: is_si
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function search_group() {
+ try {
+ var resp = await axios.post(URL + 're_px/search_group', {});
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function search_rerun(detail_id) {
+ try {
+ var resp = await axios.post(URL + 're_px/search_rerun', { detail_id: detail_id });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function getmikroresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getmikroresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function getpapsmearresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getpapsmearresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function getantibiotics(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getantibiotics', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function getlcprepresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getlcprepresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function getfnaresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getfnaresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function getcytologiresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getcytologiresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function saveresult_mikro(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_mikro', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function saveresult_papsmear(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_papsmear', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function saveresult_lcprep(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_lcprep', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function get_doctors(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getdoctorsfna', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function saveresult_fna(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_fna', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function saveresult_cytologi(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_cytologi', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function uploadimage_preparasi_sperma(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/uploadimage_preparasi_sperma', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function getpreparasispermaresult(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/getpreparasispermaresult', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+
+export async function saveresult_preparasi_sperma(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/saveresult_preparasi_sperma', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+
+export async function get_doctors_preparasi_sperma(prm) {
+ try {
+ var resp = await axios.post(URL + 're_px/get_doctors_preparasi_sperma', prm);
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
+
+export async function get_fpp(token, order_id) {
+ try {
+ var resp = await axios.post(URL + 're_px/get_fpp', {
+ token: token,
+ order_id: order_id
+ });
+ if (resp.status != 200) {
+ return {
+ status: "ERR",
+ message: resp.statusText
+ };
+ }
+ let data = resp.data;
+ return data;
+ } catch (e) {
+ return {
+ status: "ERR",
+ message: e.message
+ };
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneDatePicker.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneDatePicker.vue
new file mode 100644
index 0000000..360a824
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneDatePicker.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneInfo.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneInfo.vue
new file mode 100644
index 0000000..0bb7a45
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneInfo.vue
@@ -0,0 +1,43 @@
+
+
+ Pasien hari ini : {{ hari_ini }} , menyusul {{ total - hari_ini}}
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogMethodChange.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogMethodChange.vue
new file mode 100644
index 0000000..d3eb4eb
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogMethodChange.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogNote.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogNote.vue
new file mode 100644
index 0000000..945d4be
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogNote.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogReq.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogReq.vue
new file mode 100644
index 0000000..209c506
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogReq.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+ Catatan FO
+ {{info_req.note_fo}}
+
+
+
+
+ Catatan Screening
+ {{info_req.note_fo_ver}}
+
+
+
+
+ Catatan Specimen
+ {{info_req.note_sampling}}
+
+
+
+
+
+ Requirement FO
+ {{info_req.req_fo.join(', ')}}
+
+
+
+
+
+ Requirement Specimen Collection
+ {{info_req.req_spec_col.join(', ')}}
+
+
+
+
+
+ Requirement Specimen Verification
+ {{info_req.req_spec_ver.join(', ')}}
+
+
+
+
+
+ Requirement Sample Verification
+ {{info_req.req_samp_ver.join(', ')}}
+
+
+
+
+
+ Requirement Pre Analitik
+ {{info_req.req_pre_an.join(', ')}}
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogResultTemplateNew.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogResultTemplateNew.vue
new file mode 100644
index 0000000..5f49ee7
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogResultTemplateNew.vue
@@ -0,0 +1,137 @@
+
+
+
+
+ Tambah Template Hasil
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogUploadFile.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogUploadFile.vue
new file mode 100644
index 0000000..baadf4c
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReDialogUploadFile.vue
@@ -0,0 +1,198 @@
+
+
+
+
+ Lampiran
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReFNA.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReFNA.vue
new file mode 100644
index 0000000..b0656bb
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReFNA.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+ HISTORI PEMERIKSAAN
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReHistory.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReHistory.vue
new file mode 100644
index 0000000..6d5eb4b
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReHistory.vue
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+
+
+
+ HISTORI PEMERIKSAAN
+
+
+ Catatan Pasien : {{ patient_note }}
+
+
+
+ {{ text_filter_test }}
+ Clear Test
+ Tutup
+
+
+
+
+
+
+
+
+
+ clear
+ check
+
+
+
+ {{ p.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ props.item.px_name }}
+ |
+
+ {{ props.item.unit }}
+ |
+
+
+ {{ props.item.result[xdate] }}
+
+
+ {{ props.item.notes[xdate] }}
+ |
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReHistoryX.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReHistoryX.vue
new file mode 100644
index 0000000..9e36351
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReHistoryX.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+ HISTORI PEMERIKSAAN
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePatientDetail.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePatientDetail.vue
new file mode 100644
index 0000000..daf4257
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePatientDetail.vue
@@ -0,0 +1,295 @@
+
+
+
+
+
+
+ No Reg / Tanggal
+ {{selected_patient.T_OrderHeaderLabNumber}} / {{order_date}}
+
+
+ Nama / Jenis Kelamin
+ {{selected_patient.M_PatientName}} / {{selected_patient.M_SexName}}
+
+
+ DOB / Umur
+ {{dob_date}} / {{age}}
+
+
+ Pengirim
+ {{selected_patient.doctor_sender_name}}
+
+
+
+ keyboard_arrow_up
+
+
+
+
+
+
+
+ No Reg / Tanggal
+ {{selected_patient.T_OrderHeaderLabNumber}} / {{order_date}}
+
+ Nama / Jenis Kelamin
+ {{selected_patient.M_PatientName}} / {{selected_patient.M_SexName}}
+
+ DOB / Umur
+ {{dob_date}} / {{age}}
+
+ Phone / Janji hasil
+ {{selected_patient.M_PatientHP}} / {{selected_patient.order_promise?selected_patient.order_promise.join(', '):''}}
+ Diagnose
+ {{selected_patient.T_OrderHeaderDiagnose}}
+
+
+ Kel. Pelanggan
+ {{selected_patient.M_CompanyName}}
+
+ Pengirim
+ {{selected_patient.doctor_sender_name}}
+
+ Pengiriman Hasil
+ {{selected_patient.delivery?selected_patient.delivery.join(", "):''}}
+
+ Format Hasil
+ {{langs}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ keyboard_arrow_down
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePatientList.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePatientList.vue
new file mode 100644
index 0000000..e5996ab
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePatientList.vue
@@ -0,0 +1,306 @@
+
+
+
+
+
+
+
+
+
+ PASIEN
+
+
+
+
+
+
{{selected_patient.M_PatientNote}}
+
+
+
+
+
+
+
+ FO
+
+
+
+
+ {{selected_patient.username_fo}}
+
+
{{selected_patient.T_OrderHeaderFoNote}}
+
+
+
+
+
+
+
+ Sampling
+
+
+
+
+ {{selected_patient.username_sample}}
+
+
{{selected_patient.T_OrderHeaderSamplingNote}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+ {{ props.item.T_OrderHeaderLabNumber }}
+ info
+
+ {{props.item.T_OrderHeaderLabNumberExt}}
+ |
+
+ {{ props.item.M_PatientName }}
+ {{format_date(props.item.T_OrderHeaderDate)}}
+
+ |
+
+ pan_tool
+ |
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxDialogResultNoteRow.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxDialogResultNoteRow.vue
new file mode 100644
index 0000000..4421817
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxDialogResultNoteRow.vue
@@ -0,0 +1,198 @@
+
+
+
+
+ Result Note Row
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxList-pe.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxList-pe.vue
new file mode 100644
index 0000000..ba8196e
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxList-pe.vue
@@ -0,0 +1,475 @@
+
+
+
+
+
+
+
+
+
+
+ |
+ {{ props.item.t_testname }}
+ |
+
+
+ {{ props.item.t_testname }}
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ add_circle
+
+
+
+ {{init_result(props.item)}}
+
+
+
+
+
+
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.result_flag : '' }}
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.normal_note : '' }}
+ create
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.unit_name : '' }}
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.methode_name : '' }}
+ create
+ |
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ save_text }}
+
+ Close
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxList.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxList.vue
new file mode 100644
index 0000000..52372d5
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRePxList.vue
@@ -0,0 +1,751 @@
+
+
+
+
+
+
+
+
+ Result Note Row
+
+
+
+
+
+
+ Hidden
+
+
+
+
+
+
+
+
+ {{ item.ResultNoteRowValue }}
+
+
+
+
+
+
+ Tidak Ada Data
+
+
+
+
+ Tutup
+
+ Simpan
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ {{ props.item.t_testname }}
+ |
+
+
+ {{ props.item.t_testname }}
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ add_circle
+
+
+
+ {{
+ init_result(props.item) }}
+
+
+
+
+
+
+ |
+
+
+ {{ !init_blank(props.item) ? props.item.result_flag : '' }}
+ |
+
+
+ {{ !init_blank_normal(props.item) ? props.item.normal_note : '' }}
+ create
+ |
+
+
+ {{ !init_blank_normal(props.item) ? props.item.unit_name : '' }}
+ |
+
+
+ {{ !init_blank_normal(props.item) ? props.item.methode_name : '' }}
+ create
+ |
+
+
+
+
+
+
+ library_books
+
+
+
+
+ Internal
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ save_text }}
+
+ Close
+
+
+
+
+
+ {{ snackbar_interface.text }}
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReRerunResult.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReRerunResult.vue
new file mode 100644
index 0000000..61b63af
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReRerunResult.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+
+
+ {{get_instrument_date(props.item)}}
+ |
+
+ {{ props.item.instrument_name }}
+ |
+
+ {{ props.item.result }}
+ |
+
+
+
+ get_app
+
+ |
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReResultTemplateNew.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReResultTemplateNew.vue
new file mode 100644
index 0000000..96754f5
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReResultTemplateNew.vue
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReSearchBox.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReSearchBox.vue
new file mode 100644
index 0000000..5003692
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessReSearchBox.vue
@@ -0,0 +1,485 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+
+
+
+
+
+
+
+
+
+
+
+
+ Lampiran
+
+
+
+
+ Tutup Lampiran
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup Lampiran
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FPP
+
+
+
+
+
+
+
+
+ Import Interface
+
+
+
+
+
+
+
+ cloud_upload
+
+
+
+
+
+ colorize
+
+
+
+
+
+
+
+
+
+
+ Re. Age
+
+
+
+ info
+
+
+
+ library_books
+
+
+
+ Histori
+
+
+
+ Simpan
+ save_alt
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRiDialogNote.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRiDialogNote.vue
new file mode 100644
index 0000000..7b59fbc
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessRiDialogNote.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessWorklistReceiveList.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessWorklistReceiveList.vue
new file mode 100644
index 0000000..7ce4ace
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneProcessWorklistReceiveList.vue
@@ -0,0 +1,97 @@
+
+
+
+
+ DAFTAR PASIEN
+
+
+
+
+
+ {{ props.item.T_OrderHeaderLabNumber }}
+ |
+
+ {{ props.item.M_PatientName }}
+ |
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultCytologi.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultCytologi.vue
new file mode 100644
index 0000000..8aede1c
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultCytologi.vue
@@ -0,0 +1,109 @@
+
+
+
+
+
+ CYTOLOGI
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultFNA.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultFNA.vue
new file mode 100644
index 0000000..fdf8747
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultFNA.vue
@@ -0,0 +1,170 @@
+
+
+
+
+
+ FNA
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Upload
+
+
+ Pilih 2 foto ya
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultFNA.vue--180920 b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultFNA.vue--180920
new file mode 100644
index 0000000..5f66926
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultFNA.vue--180920
@@ -0,0 +1,170 @@
+
+
+
+
+
+ FNA
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Upload
+
+
+ Pilih 2 foto ya
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultLcprep.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultLcprep.vue
new file mode 100644
index 0000000..2273250
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultLcprep.vue
@@ -0,0 +1,253 @@
+
+
+
+
+
+ PAP SMEAR (LCPrep)
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+ ADEKUASI BAHAN PEMERIKSAAN
+
+
+
+
+
+
+
+
+ KATEGORI UMUM
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{subgroups.subgroup_name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultMikro.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultMikro.vue
new file mode 100644
index 0000000..adad367
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultMikro.vue
@@ -0,0 +1,362 @@
+
+
+
+
+
+ Mikro
+
+
+
+
+
+ Hasilnya apa ? jangan lupa ya ...
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+ Bakterinya ? jangan lupa ya ...
+
+
+
+
+
+ Hasil Lainnya : harus diisi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | No. |
+ Jenis Obat |
+ Standart |
+ Test |
+ Keterangan |
+
+
+ | R < |
+ =< I = |
+ S >= |
+
+
+
+
+ | {{detail.xno}} |
+ {{detail.T_AntibioticName}} |
+ {{detail.T_AntibioticNoteR}} |
+ {{detail.T_AntibioticNoteI}} |
+ {{detail.T_AntibioticNoteS}} |
+
+
+ |
+
+ R
+ R
+ I
+ I
+ S
+ S
+ |
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultPapsmear.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultPapsmear.vue
new file mode 100644
index 0000000..7e5581f
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultPapsmear.vue
@@ -0,0 +1,255 @@
+
+
+
+
+
+ PAP SMEAR
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+ Bahan dari :
+
+
+
+
+
+
+
+
+
+ close
+ check
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ close
+ check
+
+
+
+
+
+
+
+
+ Kategori keganasan :
+
+
+
+
+ close
+ check
+ {{category.name}}
+
+
+
+
+
+
+
+ Index maturasi :
+
+
+
+
+ M.I
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultPreparasiSperma.vue b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultPreparasiSperma.vue
new file mode 100644
index 0000000..22277e8
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/components/oneResultPreparasiSperma.vue
@@ -0,0 +1,337 @@
+
+
+
+
+
+ PREPARASI SPERMA
+
+
+
+
+
+ Dokternya siapa ? jangan lupa ya ...
+
+
+
+
+
+
+
+ Pre Preparasi
+
+
+ Motilitas
+
+
+
+
+
+
+
+
+
+
+
+ Konsentrasi
+
+
+
+
+
+ Kontaminan
+
+
+
+
+
+
+
+ Post Preparasi
+
+
+ Motilitas
+
+
+
+
+
+
+
+
+
+
+
+ Konsentrasi
+
+
+
+
+
+ Kontaminan
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Upload | PRE
+
+
+
+
+
+ Pilih 1 foto ya
+
+
+
+
+
+
+
+
+
+ Upload | POST
+
+
+
+
+
+
+ Pilih 1 foto ya
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PRE IMAGE
+
+
+
+
+
+
+
+
+
+ POST IMAGE
+
+
+
+
+
+
+
+
+
+ Tutup
+ Simpan
+
+
+
+
+
+
+
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/index.php b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/index.php
new file mode 100644
index 0000000..53cce1c
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/index.php
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+ One
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/company.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/company.js
new file mode 100644
index 0000000..39b99b2
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/company.js
@@ -0,0 +1,55 @@
+import * as api from "../api/company.js"
+
+export default {
+ namespaced: true,
+ state: {
+ loading: false,
+ company: { M_CompanyID : 0 , M_CompanyName : 'All'},
+ companies: [],
+ error: '',
+ token: {}
+ },
+ mutations: {
+ update_loading(state,status) {
+ state.loading= status
+ },
+ update_company(state,status) {
+ state.company= status
+ },
+ update_companies(state,status) {
+ state.companies= status
+ },
+ update_error(state,status) {
+ state.error= status
+ },
+ update_token(state,status) {
+ state.token= status
+ },
+ },
+ actions: {
+ async search(context,qry) {
+ context.commit("update_loading", true)
+ try {
+ let token = context.state.token
+ if (token.hasOwnProperty("token")) {
+ token.cancel()
+ }
+ token = axios.CancelToken.source()
+ context.commit("update_token",token)
+
+ let resp= await api.search(one_token(),qry, token.token)
+ if (resp.status != "OK") {
+ context.commit("update_loading", false)
+ context.commit("update_error", resp.message)
+ } else {
+ context.commit("update_loading",false)
+ context.commit("update_error","")
+ context.commit('update_companies',resp.data.data)
+ }
+ } catch(e) {
+ context.commit("update_loading",false)
+ context.commit("update_error",e.message )
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/helper.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/helper.js
new file mode 100644
index 0000000..aa84fb2
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/helper.js
@@ -0,0 +1,53 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/helper.js"
+
+export default {
+ namespaced: true,
+ state: {
+ loading:false,
+ error:''
+ },
+ mutations: {
+ update_calc_age_status(state,value) {
+ state.loading= value
+ },
+ update_error(state,value) {
+ state.error= value
+ },
+ update_loading(state,value) {
+ state.loading = value
+ }
+ },
+ actions: {
+ async calc_age(context,orderID) {
+ context.commit("update_loading", true)
+ try {
+ let prm = { orderID }
+ prm["token"] = one_token()
+ let resp = await api.calc_age(prm)
+ if (resp.status != "OK") {
+ context.commit("update_error", resp.message)
+ } else {
+ context.commit("update_error", "")
+ let patient = context.rootState.re_patient.selected_patient
+ let dob = resp.data.M_PatientDOB
+ let age = resp.data.T_OrderHeaderM_PatientAge
+ patient.M_PatientDOB = dob
+ patient.T_OrderHeaderM_PatientAge = age
+ context.rootState.commit("re_patient/update_selected_patient", patient)
+ let patients = context.rootState.patients
+ for( let idx =0; idx < patients.length ; idx++) {
+ if (patients[idx].M_PatientID = patient.M_PatientID ) {
+ patients[idx] = patient
+ }
+ }
+ context.rootState.commit('re_patient/update_patients',patients)
+ }
+ } catch (e) {
+ context.commit("update_error", e.message)
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_cytologi.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_cytologi.js
new file mode 100644
index 0000000..30e642d
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_cytologi.js
@@ -0,0 +1,140 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_cytologi:false,
+ diagnosis_klinis:'',
+ makroskopis:'',
+ mikroskopis:'',
+ kesimpulan:'',
+ saran:'',
+ selected_cytologi:{},
+ results:[],
+ doctors:[],
+ selected_doctor:{},
+ onprocess:false
+ },
+ mutations: {
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_fna(state,value) {
+ state.selected_fna = value
+ },
+ update_dialog_cytologi(state,value) {
+ state.dialog_cytologi = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_makroskopis(state,value) {
+ state.makroskopis = value
+ },
+ update_mikroskopis(state,value) {
+ state.mikroskopis = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_cytologiresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ console.log(prm)
+ prm.token = one_token()
+ console.log("wweee")
+ let resp = await api.getcytologiresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_results", data.records['results'])
+ context.commit("update_doctors", data.records['doctors'])
+ var selected_doctor = {
+ id:data.records['results'][0]['doctor_id'],
+ name:data.records['results'][0]['doctor_name']
+ }
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_cytologi", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_cytologi", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_cytologi(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_cytologi(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_cytologi", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_fna.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_fna.js
new file mode 100644
index 0000000..77959be
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_fna.js
@@ -0,0 +1,170 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_fna:false,
+ diagnosis_klinis:'',
+ makroskopis:'',
+ mikroskopis:'',
+ kesimpulan:'',
+ saran:'',
+ selected_fna:{},
+ results:[],
+ doctors:[],
+ selected_doctor:{},
+ onprocess:false,
+ images:[],
+ show_progrees_upload:false
+ },
+ mutations: {
+ update_show_progrees_upload(state,value) {
+ state.show_progrees_upload = value
+ },
+ update_images(state,value) {
+ state.images = value
+ },
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_fna(state,value) {
+ state.selected_fna = value
+ },
+ update_dialog_fna(state,value) {
+ state.dialog_fna = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_makroskopis(state,value) {
+ state.makroskopis = value
+ },
+ update_mikroskopis(state,value) {
+ state.mikroskopis = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_fnaresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getfnaresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_results", data.records['results'])
+ context.commit("update_doctors", data.records['doctors'])
+ context.commit("update_images", data.records['images'])
+ var selected_doctor = {
+ id:data.records['results'][0]['doctor_id'],
+ name:data.records['results'][0]['doctor_name']
+ }
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_fna(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_fna(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_fna", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ },
+ async uploadimage(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ // prm.token = one_token()
+ let resp = await api.uploadimage(prm)
+ if (resp.status != "OK") {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_images", data.records)
+ }
+ } catch (e) {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_history.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_history.js
new file mode 100644
index 0000000..e858918
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_history.js
@@ -0,0 +1,79 @@
+import * as api from "../api/re_history.js"
+
+export default {
+ namespaced: true,
+ state: {
+ order_id:0,
+ search_status:0,
+ search_error_message:'',
+ result: [],
+ selected_px:[] ,
+ dates: [],
+ pxs: [],
+ patient_note : "",
+
+ dialog_history: false,
+ selected_tab: 0
+ },
+ mutations: {
+ update_search_error_message(state,status) {
+ state.search_error_message = status
+ },
+ update_search_status(state,status) {
+ state.search_status = status
+ },
+ update_id(state, id) {
+ state.order_id = id
+ },
+ update_dates(state, dates) {
+ state.dates= dates
+ },
+ update_result(state, result) {
+ state.result= result
+ },
+ update_pxs(state, pxs) {
+ state.pxs = pxs
+ },
+ update_selected_px(state, px) {
+ state.selected_px = px
+ },
+
+ update_dialog_history(state, v) {
+ state.dialog_history = v
+ },
+
+ // patient note
+ update_patient_note(state, v) {
+ state.patient_note= v
+ },
+ },
+ actions: {
+ async history(context) {
+ context.commit("update_search_status", 1)
+ try {
+ context.commit('update_pxs', [])
+ context.commit('update_result', [])
+ context.commit('update_dates', [])
+ let resp= await api.history(one_token(), context.rootState.re_patient.selected_patient.T_OrderHeaderID)
+ if (resp.status != "OK") {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ context.commit('update_result', resp.data.result)
+ context.commit('update_selected_px', resp.data.pxs)
+ context.commit('update_pxs', resp.data.pxs)
+ context.commit('update_dates',resp.data.dates)
+
+ // patient note
+ context.commit('update_patient_note',resp.data.patient_note)
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_lcprep.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_lcprep.js
new file mode 100644
index 0000000..08505f6
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_lcprep.js
@@ -0,0 +1,158 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_lcprep:false,
+ diagnosis_klinis:'',
+ makroskopis:'',
+ mikroskopis:'',
+ kesimpulan:'',
+ saran:'',
+ selected_lcprep:{},
+ results:[],
+ doctors:[],
+ selected_doctor:{},
+ adekuasi:[],
+ kategoriumum:[],
+ interpretasi:[],
+ maturasi:[],
+ onprocess:false
+ },
+ mutations: {
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_maturasi(state,value) {
+ state.maturasi = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_adekuasi(state,value) {
+ state.adekuasi = value
+ },
+ update_kategoriumum(state,value) {
+ state.kategoriumum = value
+ },
+ update_interpretasi(state,value) {
+ state.interpretasi = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_lcprep(state,value) {
+ state.selected_lcprep = value
+ },
+ update_dialog_lcprep(state,value) {
+ state.dialog_lcprep = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_makroskopis(state,value) {
+ state.makroskopis = value
+ },
+ update_mikroskopis(state,value) {
+ state.mikroskopis = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_lcprepresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getlcprepresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_results", data.records['results'])
+ context.commit("update_adekuasi", data.records['adekuasi'])
+ context.commit("update_kategoriumum", data.records['kategoriumum'])
+ context.commit("update_interpretasi", data.records['interpretasi'])
+ context.commit("update_doctors", data.records['doctors'])
+ var selected_doctor = {
+ id:data.records['results'][0]['doctor_id'],
+ name:data.records['results'][0]['doctor_name']
+ }
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_lcprep", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_lcprep(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_lcprep(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_lcprep", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_mikro.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_mikro.js
new file mode 100644
index 0000000..cc15830
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_mikro.js
@@ -0,0 +1,226 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_mikro:false,
+ diagnosis_klinis:'',
+ hasil_biakan:'',
+ sample_name:'',
+ kesimpulan:'',
+ saran:'',
+ result_other:'',
+ selected_mikro:{},
+ results:{xid:'0',orderdetail_id:'0',T_BacteriaID:'0',T_BacteriaName:'',doctor_id:'0',doctor_name:'',details:[]},
+ doctors:[],
+ selected_doctor:{},
+ adekuasi:[],
+ kategoriumum:[],
+ interpretasi:[],
+ maturasi:[],
+ bacteries:[],
+ selected_bacteria:{},
+ result_values:[{id:'Negatif',value:'Negatif'},{id:'Positif',value:'Positif'},{id:'other',value:'Lainnya'}],
+ selected_result_value:{id:'Negatif',value:'Negatif'},
+ disable_save:false,
+ onprocess:false
+ },
+ mutations: {
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_disable_save(state,value) {
+ state.disable_save = value
+ },
+ update_result_other(state,value) {
+ state.result_other = value
+ },
+ update_result_values(state,value) {
+ state.result_values = value
+ },
+ update_selected_result_value(state,value) {
+ state.selected_result_value = value
+ },
+ update_bacteries(state,value) {
+ state.bacteries = value
+ },
+ update_selected_bacteria(state,value) {
+ state.selected_bacteria = value
+ },
+ update_maturasi(state,value) {
+ state.maturasi = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_adekuasi(state,value) {
+ state.adekuasi = value
+ },
+ update_kategoriumum(state,value) {
+ state.kategoriumum = value
+ },
+ update_interpretasi(state,value) {
+ state.interpretasi = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_mikro(state,value) {
+ state.selected_mikro = value
+ },
+ update_dialog_mikro(state,value) {
+ state.dialog_mikro = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_hasil_biakan(state,value) {
+ state.hasil_biakan = value
+ },
+ update_sample_name(state,value) {
+ state.sample_name = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_mikroresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getmikroresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_selected_bacteria",{})
+ context.commit("update_selected_doctor", {})
+ // context.commit("update_results", {xid:'0',orderdetail_id:'0',T_BacteriaID:'0',T_BacteriaName:'',doctor_id:'0',doctor_name:'',details:[]})
+
+ context.commit("update_doctors", data.records['doctors'])
+ context.commit("update_bacteries", data.records['bacteries'])
+
+ if(!_.isEmpty(data.records['results'])){
+ context.commit("update_results", data.records['results'])
+ var rows = data.records['results']
+ context.commit("update_selected_bacteria",{id:rows['T_BacteriaID'],name:rows['T_BacteriaName']})
+ var selected_doctor = {
+ id:rows['doctor_id'],
+ name:rows['doctor_name']
+ }
+
+ context.commit("update_selected_doctor", selected_doctor)
+ var selected_result_vaue = {
+ id:rows['result_value'],
+ value:rows['result_value']
+ }
+ if(rows['result_value'] === 'other'){
+ selected_result_vaue = {
+ id:'other',
+ value:'Lainnya'
+ }
+ }
+
+ context.commit("update_selected_result_value", selected_result_vaue)
+ }
+ context.commit("update_dialog_mikro", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async getantibiotics(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getantibiotics(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ var results = context.state.results
+ results.details = data.records
+ context.commit("update_results", results)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_mikro(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ //context.dispatch("update_disable_save",true)
+ prm.token = one_token()
+ let resp = await api.saveresult_mikro(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_disable_save",false)
+ context.commit("update_dialog_mikro", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_disable_save",false)
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_normal.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_normal.js
new file mode 100644
index 0000000..c9f9760
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_normal.js
@@ -0,0 +1,191 @@
+import * as api from "../api/re_normal.js"
+
+export default {
+ namespaced: true,
+ state: {
+ error:'',
+ status:0,
+ result: {}
+ },
+ mutations: {
+ update_error(state,status) {
+ state.error = status
+ },
+ update_status(state,status) {
+ state.status= status
+ },
+ update_result(state,status) {
+ state.result= status
+ },
+ },
+ actions: {
+ async update(context,order_detail_id) {
+ context.commit("update_error", "")
+ context.commit("update_status", 1)
+ context.commit("update_result", {})
+ try {
+ let g_id = 0
+ let resp= await api.update(one_token(),order_detail_id )
+ if (resp.status != "OK") {
+ context.commit("update_status", 3)
+ context.commit("update_error", resp.message)
+ } else {
+ context.commit("update_status", 2)
+ context.commit("update_error","")
+ let data = resp.data.records
+ context.commit("update_result", data)
+ }
+ } catch(e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async save(context) {
+ let data = []
+ let x = context.state.pxs
+ let rerun = context.state.selected_rerun
+ for (let i in x) {
+ let y = x[i]
+ if ((y.result != null && y.result != y.result_old) || (y.note != y.note_old)) {
+ let resultInstrumentID = 0
+ if ( y.hasOwnProperty('resultInstrumentID') ) {
+ resultInstrumentID = y.resultInstrumentID
+ }
+ data.push({id:y.id, result:y.result, note:y.note, test_id:y.t_testid, test_name:y.t_testname,
+ resultInstrumentID,
+ order_id:context.state.order_id})
+ }
+
+ }
+
+ if (data.length < 1) {
+ alert('Tidak ada data yang perlu disimpan !')
+ return
+ }
+
+ try {
+ let ptn = context.rootState.re_patient
+ let resp= await api.save(one_token(), ptn.lang_id, ptn.lang_si, JSON.stringify(data))
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ context.dispatch("search")
+ context.commit("update_snackbar", true)
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async save_template(context) {
+
+ try {
+ let resp= await api.save_template(one_token(), context.state.selected_px.t_testid, context.state.template_new_value)
+
+ if (resp.status != "OK") {
+ context.commit('update_dup_template_error', {status:true, messages:'Value tersebut sudah ada !'})
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ context.commit("update_dialog_template_new", false)
+
+ let pxs = context.state.pxs
+ for (let i in pxs) {
+ if (pxs[i].t_testid == context.state.selected_px.t_testid)
+ pxs[i].template = resp.data
+ }
+
+ context.commit('update_dup_template_error', {status:false, messages:''})
+ context.commit('update_pxs', {records:pxs, total:context.state.total_px})
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async lang_export(context) {
+
+ try {
+ let sp = context.rootState.re_patient
+ let resp= await api.lang_export(one_token(), sp.selected_patient.T_OrderHeaderID,
+ sp.lang_id, sp.lang_si)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ context.dispatch("search")
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async search_group(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp= await api.search_group()
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message","")
+
+ let data = {
+ records : resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_groups", data)
+ }
+ } catch(e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async search_rerun(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp= await api.search_rerun(context.state.selected_px.id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message","")
+
+ context.commit("update_reruns", resp.data)
+ }
+ } catch(e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message",e.message )
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_normal_method.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_normal_method.js
new file mode 100644
index 0000000..c89fd01
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_normal_method.js
@@ -0,0 +1,122 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_normal_method.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ order_id: 0,
+ nattest_id: 0,
+
+ search_status:0,
+ search_error_message:'',
+ search_dialog_is_active: false,
+
+ methods: [],
+ selected_method: null,
+ normals: [],
+ selected_normal: null,
+
+ dialog_method: false,
+ dialog_normal: false
+
+ },
+ mutations: {
+ update_search_dialog_is_active(state,status) {
+ state.search_dialog_is_active = status
+ },
+ update_search_error_message(state,status) {
+ state.search_error_message = status
+ },
+
+ update_search_status(state,status) {
+ state.search_status = status
+ },
+
+ update_id(state, id) {
+ state.order_id = id
+ },
+
+ update_nattest_id(state, id) {
+ state.nattest_id = id
+ },
+
+ update_methods(state, d) {
+ state.methods = d.records
+ },
+
+ update_selected_method(state, d) {
+ state.selected_method = d
+ },
+
+ update_normals(state, d) {
+ state.normals = d.records
+ },
+
+ update_selected_normal(state, d) {
+ state.selected_normal = d
+ },
+
+ update_dialog_method(state, v) {
+ state.dialog_method = v
+ },
+
+ update_dialog_normal(state, v) {
+ state.dialog_normal = v
+ }
+ },
+ actions: {
+ async search_method(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp = await api.search_method(one_token(), context.state.nattest_id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message","")
+
+ let data = {
+ records : resp.data.records
+ }
+ context.commit("update_methods", data)
+ }
+ } catch(e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message",e.message )
+ }
+ },
+
+ async save_method(context) {
+ try {
+
+ let resp = await api.save_method(one_token(), context.state.order_id, context.state.selected_method.Nat_MethodeID)
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status",2)
+ context.commit("update_search_error_message","")
+
+ let x = context.rootState.re_px.selected_px
+ x.methode_id = resp.data.data.method_id
+ x.methode_name = resp.data.data.method_name
+ x.normal_id = resp.data.data.normal_id
+ x.normal_note = resp.data.data.normal_note
+ context.commit('re_px/update_selected_px', x, {root:true})
+ context.commit("update_dialog_method", false)
+ }
+ } catch(e) {
+ context.commit("update_search_status",3)
+ context.commit("update_search_error_message",e.message )
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_papsmear.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_papsmear.js
new file mode 100644
index 0000000..28911cc
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_papsmear.js
@@ -0,0 +1,159 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_papsmear:false,
+ diagnosis_klinis:'',
+ makroskopis:'',
+ mikroskopis:'',
+ kesimpulan:'',
+ saran:'',
+ selected_papsmear:{},
+ results:[],
+ doctors:[],
+ selected_doctor:{},
+ checks:[],
+ bahans:[],
+ categories:[],
+ maturasi:[],
+ onprocess:false
+ },
+ mutations: {
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_maturasi(state,value) {
+ state.maturasi = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_checks(state,value) {
+ state.checks = value
+ },
+ update_bahans(state,value) {
+ state.bahans = value
+ },
+ update_categories(state,value) {
+ state.categories = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_selected_papsmear(state,value) {
+ state.selected_papsmear = value
+ },
+ update_dialog_papsmear(state,value) {
+ state.dialog_papsmear = value
+ },
+ update_diagnosis_klinis(state,value) {
+ state.diagnosis_klinis = value
+ },
+ update_makroskopis(state,value) {
+ state.makroskopis = value
+ },
+ update_mikroskopis(state,value) {
+ state.mikroskopis = value
+ },
+ update_kesimpulan(state,value) {
+ state.kesimpulan = value
+ },
+ update_saran(state,value) {
+ state.saran = value
+ }
+ },
+ actions: {
+ async get_papsmearresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getpapsmearresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_results", data.records['results'])
+ context.commit("update_checks", data.records['checks'])
+ context.commit("update_bahans", data.records['bahans'])
+ context.commit("update_maturasi", data.records['maturasi'])
+ context.commit("update_categories", data.records['categories'])
+ context.commit("update_doctors", data.records['doctors'])
+ var selected_doctor = {
+ id:data.records['results'][0]['doctor_id'],
+ name:data.records['results'][0]['doctor_name']
+ }
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_papsmear", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_fna", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult_papsmear(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_papsmear(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_papsmear", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_patient.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_patient.js
new file mode 100644
index 0000000..bbd341a
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_patient.js
@@ -0,0 +1,255 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_patient.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ order_id: 0,
+ search: '',
+ nolab: '',
+ sdate: new Date().toISOString().substr(0, 10),
+ edate: null,
+
+ search_status: 0,
+ search_error_message: '',
+ search_dialog_is_active: false,
+
+ patients: [],
+ total_patient: 0,
+ total_patient_page: 0,
+ curr_patient_page: 1,
+ selected_patient: {},
+
+
+ // PX
+ total_px: 0,
+ pxs: [],
+
+ langs: [],
+ lang_code: "ID",
+ lang_id: 0,
+ lang_si: "N",
+
+ dialog_req: false,
+ dialog_note: false,
+ result_note: '',
+ info_req: { req_fo: [], req_spec_col: [], req_spec_ver: [], req_samp_ver: [], req_pre_an: [] },
+
+ // ITF
+ Itf: "",
+ BrnListBarcode: ""
+ },
+ mutations: {
+ // ITF
+ update_Itf(state, val) {
+ state.Itf = val
+ },
+ update_BrnListBarcode(state, val) {
+ state.BrnListBarcode = val
+ },
+
+ update_search_dialog_is_active(state, status) {
+ state.search_dialog_is_active = status
+ },
+ update_search_error_message(state, status) {
+ state.search_error_message = status
+ },
+
+ update_search(state, val) {
+ state.search = val
+ },
+
+ update_nolab(state, val) {
+ state.nolab = val
+ },
+
+ update_search_status(state, status) {
+ state.search_status = status
+ },
+
+ update_patients(state, data) {
+ state.patients = data.records
+ state.total_patient = data.total
+ state.total_patient_page = data.total_page
+ },
+
+ update_curr_patient_page(state, data) {
+ state.curr_patient_page = data
+ },
+
+ update_selected_patient(state, val) {
+ state.selected_patient = val
+ if (val) {
+ state.langs = val.lang
+
+ state.lang_code = val.lang[0].code
+ state.lang_id = val.lang[0].id
+ state.lang_si = val.lang[0].is_si
+
+ state.result_note = val.T_OrderHeaderResultNote
+ } else {
+ state.langs = []
+ state.lang_code =
+ state.lang_id =
+ state.lang_si = null
+ state.result_note = ""
+ }
+
+ },
+
+ update_id(state, id) {
+ state.order_id = id
+ },
+
+ update_pxs(state, pxs) {
+ state.pxs = pxs.records
+ },
+
+ update_sdate(state, date) {
+ state.sdate = date
+ },
+
+ update_edate(state, date) {
+ state.edate = date
+ },
+
+ update_lang(state, lang) {
+ state.lang_code = lang.code
+ state.lang_id = lang.id
+ state.lang_si = lang.is_si
+ },
+
+ update_dialog_note(state, v) {
+ state.dialog_note = v
+ },
+
+ update_result_note(state, v) {
+ state.result_note = v
+ },
+
+ update_info_req(state, v) {
+ state.info_req = v
+ },
+
+ update_dialog_req(state, v) {
+ state.dialog_req = v
+ }
+ },
+ actions: {
+ async search(context) {
+ context.commit("update_search_status", 1)
+ try {
+ let g_id = 0
+ if (context.rootState.re_px.selected_group)
+ g_id = context.rootState.re_px.selected_group.group_id
+
+ let inp_no = context.state.search
+ if (inp_no.length == 9 && inp_no.substr(0, 2) == "ZL") {
+ inp_no = await window.xno(inp_no)
+ }
+ let company_id = 0
+ if (context.rootState.company.company) {
+ company_id = context.rootState.company.company.M_CompanyID
+ }
+ let resp = await api.search(one_token(), context.state.sdate, inp_no, g_id, context.state.curr_patient_page, company_id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total,
+ total_page: resp.data.total_page
+ }
+
+ // attachment obj
+ let objAttachment = resp.data.attachment;
+ console.log("DARI SERVER ATTACHMENT RE_PATIENT ", resp.data.attachment)
+
+ // update object attachment
+ context.commit("re_px/update_obj_attachment", objAttachment, { root: true })
+
+ context.commit("update_patients", data)
+
+ if (data.records.length < 1) {
+ context.commit('update_selected_patient', null)
+ context.commit('re_px/update_pxs', [], { root: true })
+ // update order_id state jika data tidak ada
+ context.commit('re_px/update_id', 0, { root: true })
+ }
+ else {
+ context.commit('update_selected_patient', data.records[0])
+ context.commit('re_px/update_id', data.records[0].T_OrderHeaderID, { root: true })
+ context.dispatch('re_px/search', null, { root: true })
+
+ context.dispatch('info_req')
+ }
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async save_note(context) {
+ context.commit("update_search_status", 1)
+ try {
+ let resp = await api.save_note(one_token(), context.state.selected_patient.T_OrderHeaderID, context.state.result_note)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+ console.log(resp)
+
+ context.commit('update_dialog_note', false)
+ let x = context.state.selected_patient
+ let y = context.state.patients
+ for (let i in y)
+ if (x.T_OrderHeaderID == y[i].T_OrderHeaderID)
+ y[i].T_OrderHeaderResultNote = context.state.result_note
+
+ context.commit("update_patients", {
+ records: y,
+ total: context.state.total_patient,
+ total_page: context.state.total_patient_page
+ })
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async info_req(context) {
+ context.commit("update_search_status", 1)
+ try {
+ let resp = await api.info_req(one_token(), context.state.selected_patient.T_OrderHeaderID)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.commit('update_info_req', resp.data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_preparasisperma.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_preparasisperma.js
new file mode 100644
index 0000000..0e98468
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_preparasisperma.js
@@ -0,0 +1,175 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ get_data_status:0,
+ save_status:0,
+ dialog_preparasisperma:false,
+ results:{},
+ doctors:[],
+ selected_doctor:{},
+ onprocess:false,
+ images:[],
+ pre_image:{},
+ post_image:{},
+ show_progrees_upload:false,
+ selected_preparasisperma:{}
+ },
+ mutations: {
+ update_selected_preparasisperma(state,value) {
+ state.selected_preparasisperma = value
+ },
+ update_show_progrees_upload(state,value) {
+ state.show_progrees_upload = value
+ },
+ update_pre_image(state,value) {
+ state.pre_image = value
+ },
+ update_post_image(state,value) {
+ state.post_image = value
+ },
+ update_images(state,value) {
+ state.images = value
+ },
+ update_onprocess(state,value) {
+ state.onprocess = value
+ },
+ update_doctors(state,value) {
+ state.doctors = value
+ },
+ update_selected_doctor(state,value) {
+ state.selected_doctor = value
+ },
+ update_save_status(state,value) {
+ state.save_status = value
+ },
+ update_results(state,value) {
+ state.results = value
+ },
+ update_get_data_status(state,value) {
+ state.get_data_status = value
+ },
+ update_dialog_preparasisperma(state,value) {
+ state.dialog_preparasisperma = value
+ }
+ },
+ actions: {
+ async get_preparasispermaresult(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.getpreparasispermaresult(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_results", data.records['results'])
+ context.commit("update_doctors", data.records['doctors'])
+ context.commit("update_post_image", '')
+ context.commit("update_pre_image", '')
+ if(data.records['images']){
+ data.records['images'].forEach(function(image) {
+ if(image.type == 'PRE'){
+ context.commit("update_pre_image", image)
+ }
+ else{
+ context.commit("update_post_image", image)
+ }
+ })
+ }
+
+ var selected_doctor = {
+ id:data.records['results']['doctor_id'],
+ name:data.records['results']['doctor_name']
+ }
+ console.log(selected_doctor)
+ context.commit("update_selected_doctor", selected_doctor)
+ context.commit("update_dialog_preparasisperma", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async get_doctors_preparasi_sperma(context,prm) {
+ context.commit("update_get_data_status", 1)
+ try {
+ prm.token = one_token()
+ let resp = await api.get_doctors_preparasi_sperma(prm)
+ if (resp.status != "OK") {
+ context.commit("update_get_data_status", 3)
+ } else {
+ context.commit("update_get_data_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_doctors", data.records)
+ context.commit("update_selected_doctor", {})
+ context.commit("update_dialog_preparasisperma", true)
+ }
+ } catch (e) {
+ context.commit("update_get_data_status", 3)
+ }
+ },
+ async saveresult(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ prm.token = one_token()
+ let resp = await api.saveresult_preparasi_sperma(prm)
+ if (resp.status != "OK") {
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_onprocess", false)
+ context.commit("update_dialog_preparasisperma", false)
+ context.dispatch('re_px/search','',{root:true})
+ context.dispatch('re_patient/info_req','',{root:true})
+ }
+ } catch (e) {
+ context.commit("update_save_status", 3)
+ }
+ },
+ async uploadimage_preparasi_sperma(context,prm) {
+ context.commit("update_save_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ // prm.token = one_token()
+ let resp = await api.uploadimage_preparasi_sperma(prm)
+ if (resp.status != "OK") {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_save_status", 3)
+ } else {
+ context.commit("update_save_status", 2)
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_show_progrees_upload", false)
+
+ if(data.records[0].type === 'PRE')
+ context.commit("update_pre_image", data.records[0])
+ else
+ context.commit("update_post_image", data.records[0])
+ }
+ } catch (e) {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_save_status", 3)
+ }
+ }
+
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_px.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_px.js
new file mode 100644
index 0000000..410b293
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/modules/re_px.js
@@ -0,0 +1,501 @@
+// 1 => LOADING
+// 2 => DONE
+// 3 => ERROR
+import * as api from "../api/re_px.js"
+window.api = api
+
+export default {
+ namespaced: true,
+ state: {
+ order_id: 0,
+
+ search_status: 0,
+ search_error_message: '',
+ search_dialog_is_active: false,
+
+ // PX
+ total_px: 0,
+ pxs: [],
+ selected_px: {},
+ selected_px_idx: 0,
+
+ // template
+ dialog_template_new: false,
+ template_new_value: "",
+ dup_template_error: { status: false, messages: '' },
+
+ groups: [{ group_id: '1', group_name: 'DUMMY - KIMIA' }, { group_id: '2', group_name: 'DUMMY - HEMATOLOGI' }],
+ selected_group: {},
+
+ reruns: [{ date: '2019-07-10 08:00', instrument: 'COBAS', result: '56' }, { date: '2019-07-10 08:20', instrument: 'COBAS', result: '68' }],
+ selected_rerun: {},
+ dialog_rerun: false,
+ snackbar: false,
+ fpp: '',
+ dialog_fpp: false,
+ dialog_barcode_list: false,
+ dialog_upload_file: false,
+ photo_64: '',
+ photo_64_lab: '',
+ show_progrees_upload: false,
+ save_status: 0,
+ save_error_message_lampiran: '',
+ snackbar_interface: { value: false, color: 'success', text: '' },
+
+ // attachment
+ dialog_attachment: false,
+ obj_attachment: {},
+
+ // result note row
+ dialog_result_note_row: false,
+ result_note_rows: [],
+ },
+ mutations: {
+ // result note row
+ update_dialog_result_note_row(state, value) {
+ state.dialog_result_note_row = value
+ },
+
+ update_result_note_rows(state, result_note_rows) {
+ state.result_note_rows = result_note_rows.records
+ },
+
+ // ATTACHMENT START
+ update_dialog_attachment(state, value) {
+ state.dialog_attachment = value
+ },
+ update_obj_attachment(state, value) {
+ state.obj_attachment = value
+ },
+ // ATTACHMENT END
+
+ update_save_error_message_lampiran(state, status) {
+ state.save_error_message_lampiran = status
+ },
+ update_save_status(state, value) {
+ state.save_status = value
+ },
+ // update foto state
+ update_show_progrees_upload(state, value) {
+ state.show_progrees_upload = value
+ },
+
+ update_photo_64(state, data) {
+ state.photo_64 = data
+ },
+
+ update_photo_64_lab(state, data) {
+ state.photo_64_lab = data
+ },
+
+ // upload file dialog
+ update_dialog_upload_file(state, value) {
+ state.dialog_upload_file = value
+ },
+
+ // barcode list
+ update_dialog_barcode_list(state, value) {
+ state.dialog_barcode_list = value
+ },
+ update_snackbar_interface(state, v) {
+ state.snackbar_interface = v
+ },
+ // end barcode list
+ update_dialog_fpp(state, value) {
+ state.dialog_fpp = value
+ },
+ update_fpp(state, value) {
+ state.fpp = value
+ },
+ update_search_dialog_is_active(state, status) {
+ state.search_dialog_is_active = status
+ },
+ update_search_error_message(state, status) {
+ state.search_error_message = status
+ },
+
+ update_search_status(state, status) {
+ state.search_status = status
+ },
+
+ update_id(state, id) {
+ state.order_id = id
+ },
+
+ update_pxs(state, pxs) {
+ state.pxs = pxs.records
+ },
+
+ update_selected_px(state, px) {
+ state.selected_px = px
+ },
+
+ update_selected_px_idx(state, idx) {
+ state.selected_px_idx = idx
+ },
+
+ update_selected_group(state, group) {
+ state.selected_group = group
+ },
+
+ update_dialog_rerun(state, v) {
+ state.dialog_rerun = v
+ },
+
+ update_reruns(state, reruns) {
+ state.reruns = reruns.records
+ },
+
+ update_selected_rerun(state, rerun) {
+ state.selected_rerun = rerun
+ },
+
+ update_snackbar(state, v) {
+ state.snackbar = v
+ },
+
+ update_dialog_template_new(state, v) {
+ state.dialog_template_new = v
+ },
+
+ update_template_new_value(state, v) {
+ state.template_new_value = v
+ },
+
+ update_dup_template_error(state, v) {
+ state.dup_template_error = v
+ },
+
+ update_groups(state, v) {
+ state.groups = v.records
+ }
+ },
+ actions: {
+ // update result_note_row
+ async save_result_note_row(context, prm) {
+ try {
+ let ptn = context.rootState.re_patient
+ let resp = await api.save_result_note_row(prm)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.dispatch("search")
+ context.commit("update_snackbar", true)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ // get_result_note_by_nat_test_id
+ async get_result_note_by_nat_test_id(context, prm) {
+ context.commit("update_search_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ // prm.token = one_token()
+ let resp = await api.get_result_note_by_nat_test_id(prm)
+ if (resp.status != "OK") {
+ console.log("respon server ", resp.message);
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_search_status", 3)
+ // context.commit("update_save_error_message_lampiran", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ // context.commit("update_save_error_message_lampiran", "")
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ // context.commit("update_show_progrees_upload", false)
+
+ // context.dispatch("search")
+ context.commit("update_result_note_rows", data)
+ context.commit("update_dialog_result_note_row", true)
+ // context.commit("update_snackbar", true)
+ }
+ } catch (e) {
+ context.commit("update_dialog_result_note_row", false)
+ context.commit("update_search_status", 3)
+ context.commit("update_save_error_message_lampiran", e.message)
+ }
+ },
+
+ // upload file
+ async uploadimage_lampiran(context, prm) {
+ context.commit("update_search_status", 1)
+ try {
+ //prm.id = context.state.selected_fna.id
+ // prm.token = one_token()
+ let resp = await api.uploadimage_lampiran(prm)
+ if (resp.status != "OK") {
+ console.log("respon server ", resp.message);
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_search_status", 3)
+ context.commit("update_save_error_message_lampiran", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_save_error_message_lampiran", "")
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+ context.commit("update_show_progrees_upload", false)
+
+ context.dispatch("search")
+ context.commit("update_dialog_upload_file", false)
+ context.commit("update_snackbar", true)
+
+ // if (data.records[0].type === 'PRE')
+ // context.commit("update_pre_image", data.records[0])
+ // else
+ // context.commit("update_post_image", data.records[0])
+ }
+ } catch (e) {
+ context.commit("update_show_progrees_upload", false)
+ context.commit("update_search_status", 3)
+ context.commit("update_save_error_message_lampiran", e.message)
+ }
+ },
+
+ // import interface
+ async importInterface(context, prm) {
+ var itfNoReg = prm.ItfNoReg;
+ context.commit("update_search_status", 1)
+ try {
+ var prm = {};
+ prm.token = one_token()
+ let resp = await api.importInterface(prm, itfNoReg)
+ console.log(resp);
+ if (resp.status != "OK") {
+ context.commit("update_search_status", 3)
+ context.commit("update_snackbar_interface", { value: true, color: "error", text: resp.message })
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_snackbar_interface", { value: true, color: "success", text: "Import Succes" })
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ }
+ },
+ async search(context) {
+ context.commit("update_search_status", 1)
+ try {
+ let g_id = 0
+ if (context.state.selected_group)
+ g_id = context.state.selected_group.group_id
+ let resp = await api.search(one_token(), context.state.order_id,
+ context.rootState.re_patient.lang_id,
+ context.rootState.re_patient.lang_si,
+ g_id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ // attachment obj
+ let objAttachment = resp.data.attachment;
+ // console.log("DARI SERVER ATTACHMENT RE_PX ",resp.data.attachment)
+ // update object attachment
+ context.commit("update_obj_attachment", objAttachment)
+
+ context.commit("update_pxs", data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async save(context) {
+ let data = []
+ let x = context.state.pxs
+ let rerun = context.state.selected_rerun
+ for (let i in x) {
+ let y = x[i]
+ if ((y.result != null && y.result != y.result_old) || (y.note != y.note_old) || (y.T_OrderDetailInternalNote != y.T_OrderDetailInternalNote_old)) {
+ let resultInstrumentID = 0
+ if (y.hasOwnProperty('resultInstrumentID')) {
+ resultInstrumentID = y.resultInstrumentID
+ }
+ data.push({
+ id: y.id, result: y.result, note: y.note, T_OrderDetailInternalNote: y.T_OrderDetailInternalNote, test_id: y.t_testid, test_name: y.t_testname,
+ resultInstrumentID,
+ order_id: context.state.order_id
+ })
+ }
+
+ }
+
+ // console.log("DATA KE BE : ",JSON.stringify(data));
+ // return;
+
+ if (data.length < 1) {
+ alert('Tidak ada data yang perlu disimpan !')
+ return
+ }
+
+ try {
+
+ // console.log("DATA KE BE : ",JSON.stringify(data));
+
+ let ptn = context.rootState.re_patient
+ let resp = await api.save(one_token(), ptn.lang_id, ptn.lang_si, JSON.stringify(data))
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.dispatch("search")
+ context.commit("update_snackbar", true)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async save_template(context) {
+
+ try {
+ let resp = await api.save_template(one_token(), context.state.selected_px.t_testid, context.state.template_new_value)
+
+ if (resp.status != "OK") {
+ context.commit('update_dup_template_error', { status: true, messages: 'Value tersebut sudah ada !' })
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.commit("update_dialog_template_new", false)
+
+ let pxs = context.state.pxs
+ for (let i in pxs) {
+ if (pxs[i].t_testid == context.state.selected_px.t_testid)
+ pxs[i].template = resp.data
+ }
+
+ context.commit('update_dup_template_error', { status: false, messages: '' })
+ context.commit('update_pxs', { records: pxs, total: context.state.total_px })
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async lang_export(context) {
+
+ try {
+ let sp = context.rootState.re_patient
+ let resp = await api.lang_export(one_token(), sp.selected_patient.T_OrderHeaderID,
+ sp.lang_id, sp.lang_si)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.dispatch("search")
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async search_group(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp = await api.search_group()
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ let data = {
+ records: resp.data.records,
+ total: resp.data.total
+ }
+
+ context.commit("update_groups", data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+
+ async search_rerun(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp = await api.search_rerun(context.state.selected_px.id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.commit("update_reruns", resp.data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ },
+ async get_fpp(context) {
+ context.commit("update_search_status", 1)
+ try {
+
+ let resp = await api.get_fpp(one_token(), context.state.order_id)
+
+ if (resp.status != "OK") {
+
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", resp.message)
+ } else {
+ context.commit("update_search_status", 2)
+ context.commit("update_search_error_message", "")
+
+ context.commit("update_fpp", resp.data.data)
+ }
+ } catch (e) {
+ context.commit("update_search_status", 3)
+ context.commit("update_search_error_message", e.message)
+ }
+ }
+ }
+}
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/store.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/store.js
new file mode 100644
index 0000000..559450f
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/one-process-resultentry-v106/store.js
@@ -0,0 +1,52 @@
+// State
+// data ...
+// Mutations
+//
+//
+// Actions
+import re_patient from "./modules/re_patient.js";
+import re_px from "./modules/re_px.js";
+import re_fna from "./modules/re_fna.js";
+import re_preparasisperma from "./modules/re_preparasisperma.js";
+import re_cytologi from "./modules/re_cytologi.js";
+import re_papsmear from "./modules/re_papsmear.js";
+import re_lcprep from "./modules/re_lcprep.js";
+import company from "./modules/company.js";
+import re_history from "./modules/re_history.js";
+import normal_method from "./modules/re_normal_method.js";
+import re_normal from "./modules/re_normal.js";
+import re_mikro from "./modules/re_mikro.js";
+import helper from "./modules/helper.js";
+import system from "../../../apps/modules/system/system.js";
+
+export const store = new Vuex.Store({
+ state : {
+ tab_active : '01',
+ tabs : [
+
+ ]
+ },
+
+ mutations : {
+ change_tab(state, tab) {
+ state.tab_active = tab;
+ }
+ },
+
+ modules : {
+ helper,
+ re_preparasisperma:re_preparasisperma,
+ re_fna:re_fna,
+ re_cytologi:re_cytologi,
+ re_papsmear:re_papsmear,
+ re_lcprep:re_lcprep,
+ re_patient: re_patient,
+ re_px: re_px,
+ company: company,
+ re_history: re_history,
+ re_mikro:re_mikro,
+ normal_method: normal_method,
+ system: system,
+ re_normal
+ }
+});
diff --git a/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/store.js b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/store.js
new file mode 100644
index 0000000..559450f
--- /dev/null
+++ b/ui/10.9.9.2/ubah-grouppemeriksaan-menjadi-worklist/one-process-resultentry-v106/store.js
@@ -0,0 +1,52 @@
+// State
+// data ...
+// Mutations
+//
+//
+// Actions
+import re_patient from "./modules/re_patient.js";
+import re_px from "./modules/re_px.js";
+import re_fna from "./modules/re_fna.js";
+import re_preparasisperma from "./modules/re_preparasisperma.js";
+import re_cytologi from "./modules/re_cytologi.js";
+import re_papsmear from "./modules/re_papsmear.js";
+import re_lcprep from "./modules/re_lcprep.js";
+import company from "./modules/company.js";
+import re_history from "./modules/re_history.js";
+import normal_method from "./modules/re_normal_method.js";
+import re_normal from "./modules/re_normal.js";
+import re_mikro from "./modules/re_mikro.js";
+import helper from "./modules/helper.js";
+import system from "../../../apps/modules/system/system.js";
+
+export const store = new Vuex.Store({
+ state : {
+ tab_active : '01',
+ tabs : [
+
+ ]
+ },
+
+ mutations : {
+ change_tab(state, tab) {
+ state.tab_active = tab;
+ }
+ },
+
+ modules : {
+ helper,
+ re_preparasisperma:re_preparasisperma,
+ re_fna:re_fna,
+ re_cytologi:re_cytologi,
+ re_papsmear:re_papsmear,
+ re_lcprep:re_lcprep,
+ re_patient: re_patient,
+ re_px: re_px,
+ company: company,
+ re_history: re_history,
+ re_mikro:re_mikro,
+ normal_method: normal_method,
+ system: system,
+ re_normal
+ }
+});