add slicing worklist
This commit is contained in:
162
worklist/modules/worklist.js
Normal file
162
worklist/modules/worklist.js
Normal file
@@ -0,0 +1,162 @@
|
||||
|
||||
const store = {
|
||||
namespaced: true,
|
||||
state() {
|
||||
return {
|
||||
date: new Date(),
|
||||
patients: [
|
||||
{
|
||||
"T_TestID": "4095",
|
||||
"Nat_TestID": "4095",
|
||||
"T_TestCode": "10110100",
|
||||
"T_TestName": "Hematologi Lengkap",
|
||||
"T_WorklistID": "40",
|
||||
"patients": [
|
||||
{
|
||||
"name": "Tn COCOBA / 654545 ",
|
||||
"id": "132258",
|
||||
"did": "1626215",
|
||||
"number": "05600003LA",
|
||||
"is_rujukan": "N",
|
||||
"T_SampleTypeID": 2,
|
||||
"speciment_receive": "N",
|
||||
"speciment_handling": "N",
|
||||
"is_cito": "N",
|
||||
"is_received": "N",
|
||||
"is_confirm": "N",
|
||||
"barcode": "05600003LAEL",
|
||||
"requirements": null
|
||||
},
|
||||
{
|
||||
"name": "Tn COCOBA / 654545 ",
|
||||
"id": "132259",
|
||||
"did": "1626279",
|
||||
"number": "05600004LA",
|
||||
"is_rujukan": "N",
|
||||
"T_SampleTypeID": 2,
|
||||
"speciment_receive": "Y",
|
||||
"speciment_handling": "Y",
|
||||
"is_cito": "N",
|
||||
"is_received": "Y",
|
||||
"is_confirm": "N",
|
||||
"barcode": "05600004LAEL",
|
||||
"requirements": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"T_TestID": "4099",
|
||||
"Nat_TestID": "4099",
|
||||
"T_TestCode": "10110500",
|
||||
"T_TestName": "Leukosit",
|
||||
"T_WorklistID": "40",
|
||||
"patients": [
|
||||
{
|
||||
"name": "Tn COCOBA / 654545 ",
|
||||
"id": "132258",
|
||||
"did": "1626217",
|
||||
"number": "05600003LA",
|
||||
"is_rujukan": "N",
|
||||
"T_SampleTypeID": 2,
|
||||
"speciment_receive": "N",
|
||||
"speciment_handling": "N",
|
||||
"is_cito": "N",
|
||||
"is_received": "N",
|
||||
"is_confirm": "N",
|
||||
"barcode": "05600003LAEL",
|
||||
"requirements": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"T_TestID": "4108",
|
||||
"Nat_TestID": "4108",
|
||||
"T_TestCode": "10110800",
|
||||
"T_TestName": "Trombosit",
|
||||
"T_WorklistID": "40",
|
||||
"patients": [
|
||||
{
|
||||
"name": "Tn COCOBA / 654545 ",
|
||||
"id": "132258",
|
||||
"did": "1626226",
|
||||
"number": "05600003LA",
|
||||
"is_rujukan": "N",
|
||||
"T_SampleTypeID": 2,
|
||||
"speciment_receive": "N",
|
||||
"speciment_handling": "N",
|
||||
"is_cito": "N",
|
||||
"is_received": "N",
|
||||
"is_confirm": "N",
|
||||
"barcode": "05600003LAEL",
|
||||
"requirements": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"T_TestID": "4110",
|
||||
"Nat_TestID": "4110",
|
||||
"T_TestCode": "10111000",
|
||||
"T_TestName": "Erytrosit",
|
||||
"T_WorklistID": "40",
|
||||
"patients": [
|
||||
{
|
||||
"name": "Tn COCOBA / 654545 ",
|
||||
"id": "132258",
|
||||
"did": "1626228",
|
||||
"number": "05600003LA",
|
||||
"is_rujukan": "N",
|
||||
"T_SampleTypeID": 2,
|
||||
"speciment_receive": "N",
|
||||
"speciment_handling": "N",
|
||||
"is_cito": "N",
|
||||
"is_received": "N",
|
||||
"is_confirm": "N",
|
||||
"barcode": "05600003LAEL",
|
||||
"requirements": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"T_TestID": "4633",
|
||||
"Nat_TestID": "4633",
|
||||
"T_TestCode": "10510100",
|
||||
"T_TestName": "SGOT",
|
||||
"T_WorklistID": "40",
|
||||
"patients": [
|
||||
{
|
||||
"name": "Ny COBA HENY LAGI ",
|
||||
"id": "132261",
|
||||
"did": "1626344",
|
||||
"number": "05600006LA",
|
||||
"is_rujukan": "N",
|
||||
"T_SampleTypeID": 35,
|
||||
"speciment_receive": "N",
|
||||
"speciment_handling": "N",
|
||||
"is_cito": "N",
|
||||
"is_received": "N",
|
||||
"is_confirm": "N",
|
||||
"barcode": null,
|
||||
"requirements": null
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
selected_patient: {}
|
||||
};
|
||||
},
|
||||
mutations: {
|
||||
setDate(state, data) {
|
||||
state.date = data;
|
||||
},
|
||||
setPatients(state, data) {
|
||||
state.patients = data
|
||||
},
|
||||
setSelectedPatient(state, data) {
|
||||
state.selected_patient = data
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
}
|
||||
};
|
||||
export default store
|
||||
Reference in New Issue
Block a user