API v1 of Check list app
User Authentication
- POST /api-checklist/v1/Users/auth
User login
Parse as json:
{ "Username": "RattanaMIS", "Password": "123456" }
Respone as json:
{ "Role": "AU", "Code_Prov_T": "", "Code_OD_T": "", "Code_Facility_T": "", "message": "ok" }
HC checklist
Get HC check list
- POST /api-checklist/v1/hc/list
Get list of HC checklist
Parse as json:
{ "Code_Prov_T":"01", "Code_OD_T":"", "Code_Facility_T":"" }
Respone as json:
[ { "Rec_ID": 33, "Code_Facility_T": "010202", "Quarter": "2021 Q3", "VisitDate": "2021-10-13", "VisitorName": "Hem Vanna ", "VisitorSex": "M", "Part1Score": null, "Part2Score": null, "Part3Score": null, "Part4Score": null, "Part5Score": null, "Code_Prov_T": "01", "Code_OD_T": "0102" }, { "Rec_ID": 58, "Code_Facility_T": "010303", "Quarter": "Q1 2021", "VisitDate": "2022-01-04", "VisitorName": "1", "VisitorSex": "F", "Part1Score": 18.5, "Part2Score": 19, "Part3Score": 20, "Part4Score": 1, "Part5Score": 4, "Code_Prov_T": "01", "Code_OD_T": "0103" }, { "Rec_ID": 59, "Code_Facility_T": "010303", "Quarter": "Q1 2021", "VisitDate": "2022-01-04", "VisitorName": "1", "VisitorSex": "F", "Part1Score": 18.5, "Part2Score": 19, "Part3Score": 20, "Part4Score": 1, "Part5Score": 4, "Code_Prov_T": "01", "Code_OD_T": "0103" } ]
HC checklist detail
- POST /api-checklist/v1/hc/detail
Get detail of HC checklist
Parse as json:
{ "Rec_ID": 33 }
Respone as json:
{ "Rec_ID": 33, "Code_Facility_T": "010202", "Quarter": "2021 Q3", "VisitDate": "2021-10-13", "VisitorName": "Hem Vanna ", "VisitorSex": "M", "Part1Score": null, "Part2Score": null, "Part3Score": null, "Part4Score": null, "Part5Score": null, "Code_Prov_T": "01", "Code_OD_T": "0102", "Detail": { "P1Q1": { "Answer": { "other": "", "tick": "Yes" }, "Score": 0 }, "P1Q1_1": { "Answer": { "other": "", "tick": "Over 7 days" }, "Score": 0 }, "P1Q1_2": { "Answer": { "other": "", "tick": "Yes" }, "Score": 0 }, "P1Q2": { "Answer": { "other": "", "tick": "Yes" }, "Score": 0 }, "P1Q3": { "Answer": { "other": "", "tick": "Referred" }, "Score": 0 }, "P1Q4": { "Answer": { "other": "", "tick": "Yes" }, "Score": 0 }, "P1Q5": { "Answer": { "other": "", "tick": "Yes" }, "Score": 0 }, "P1Q6": { "Answer": { "other": "", "tick": [ "National guidelines", "Surveillance book", "Other" ] }, "Score": 0 }, "P1Q7": { "Answer": { "other": "", "tick": "Yes" }, "Score": 0 }, "P2Q1": { "Answer": { "other": "", "tick": "Everyday" }, "Score": 0 }, "P2Q2": { "Answer": { "other": "", "tick": "Everyday" }, "Score": 0 }, "P2Q3": { "Answer": { "other": "", "tick": "Under 24 hours" }, "Score": 0 }, "P2Q4": { "Answer": { "other": "", "tick": "Correct" }, "Score": 0 }, "P2Q5": { "Answer": { "other": "", "tick": "Correct" }, "Score": 0 }, "P2Q6": { "Answer": { "other": "", "tick": "Correct" }, "Score": 0 }, "P3Q1": { "Answer": { "mix": "2", "pf": "2", "positive": "2", "pv": "2", "test": "2" }, "Score": 0 }, "P3Q2": { "Answer": { "mix": "2", "pf": "2", "positive": "2", "pv": "2", "test": "" }, "Score": 0 }, "P3Q2_1": { "Answer": "thhh", "Score": 0 }, "P3Q3": { "Answer": { "mix": "2", "pf": "2", "positive": "2", "pv": "2", "test": "" }, "Score": 0 }, "P3Q3_1": { "Answer": "vghh", "Score": 0 }, "P3Q3_2": { "Answer": { "other": "", "tick": "No Pf and Mix" }, "Score": 0 }, "P3Q3_3": { "Answer": { "other": "", "tick": "No Pv" }, "Score": 0 }, "P3Q3_4": { "Answer": { "other": "", "tick": "No Pf and Mix" }, "Score": 0 }, "P3Q4": { "Answer": { "l1": "3", "lc": "" }, "Score": 0 }, "P3Q5": { "Answer": "3", "Score": 0 }, "P4": { "Answer": { "list": [ { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 0, "sex": "M", "tick": "Correct", "virus": "F" } ], "qty": 9 }, "Score": 0 }, "P5Q1": { "Answer": { "other": "", "tick": "Not stockout" }, "Score": 0 }, "P5Q2": { "Answer": { "other": "", "tick": "Stockout" }, "Score": 0 }, "P5Q3": { "Answer": { "other": "", "tick": "Stockout" }, "Score": 0 }, "P5Q4": { "Answer": { "other": "", "tick": "Not stockout" }, "Score": 0 }, "P5Q5": { "Answer": { "other": "", "tick": "Not stockout" }, "Score": 0 }, "P6Q1": { "Answer": { "date": "2021-10-10", "person": "jhhu", "problem": "yffyyg", "solution": "vhghy" }, "Score": 0 }, "P6Q2": { "Answer": { "date": "2021-10-01", "person": "huhu", "problem": "hvyg", "solution": "hguh" }, "Score": 0 } } }
HC checklist Insert/Update
- POST /api-checklist/v1/hc/update
Insert/Update
Parse as json:
{ "Code_Facility_T": "010202", "Code_OD_T": "0102", "Code_Prov_T": "01", "Detail": { "P1Q1": { "Answer": { "other": "", "tick": "Yes" }, "Score": 2 }, "P1Q1_1": { "Answer": { "other": "", "tick": "Over 7 days" }, "Score": 0 }, "P1Q1_2": { "Answer": { "other": "", "tick": "Yes" }, "Score": 1 }, "P1Q2": { "Answer": { "other": "", "tick": "Yes" }, "Score": 0 }, "P1Q3": { "Answer": { "other": "", "tick": "Referred" }, "Score": 2 }, "P1Q4": { "Answer": { "other": "", "tick": "Yes" }, "Score": 4 }, "P1Q5": { "Answer": { "other": "", "tick": "Yes" }, "Score": 5 }, "P1Q6": { "Answer": { "other": "", "tick": [ "National guidelines", "Surveillance book", "Other" ] }, "Score": 6 }, "P1Q7": { "Answer": { "other": "", "tick": "Yes" }, "Score": 4 }, "P2Q1": { "Answer": { "other": "", "tick": "Everyday" }, "Score": 5 }, "P2Q2": { "Answer": { "other": "", "tick": "Everyday" }, "Score": 5 }, "P2Q3": { "Answer": { "other": "", "tick": "Under 24 hours" }, "Score": 5 }, "P2Q4": { "Answer": { "other": "", "tick": "Correct" }, "Score": 5 }, "P2Q5": { "Answer": { "other": "", "tick": "Correct" }, "Score": 5 }, "P2Q6": { "Answer": { "other": "", "tick": "Correct" }, "Score": 5 }, "P3Q1": { "Answer": { "mix": "2", "pf": "2", "positive": "2", "pv": "2", "test": "2" }, "Score": 0 }, "P3Q2": { "Answer": { "mix": "2", "pf": "2", "positive": "2", "pv": "2", "test": "" }, "Score": 0 }, "P3Q2_1": { "Answer": "thhh", "Score": 0 }, "P3Q3": { "Answer": { "mix": "2", "pf": "2", "positive": "2", "pv": "2", "test": "" }, "Score": 0 }, "P3Q3_1": { "Answer": "vghh", "Score": 0 }, "P3Q3_2": { "Answer": { "other": "", "tick": "No Pf and Mix" }, "Score": 8 }, "P3Q3_3": { "Answer": { "other": "", "tick": "No Pv" }, "Score": 8 }, "P3Q3_4": { "Answer": { "other": "", "tick": "No Pf and Mix" }, "Score": 4 }, "P3Q4": { "Answer": { "l1": "3", "lc": "0" }, "Score": 0 }, "P3Q5": { "Answer": "3", "Score": 0 }, "P4": { "Answer": { "list": [ { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" }, { "age": "88", "duration": "556", "medicine": "gg", "pill": "555", "score": 1, "sex": "M", "tick": "Correct", "virus": "F" } ], "qty": 9 }, "Score": 9 }, "P5Q1": { "Answer": { "other": "", "tick": "Not stockout" }, "Score": 2 }, "P5Q2": { "Answer": { "other": "", "tick": "Stockout" }, "Score": 0 }, "P5Q3": { "Answer": { "other": "", "tick": "Stockout" }, "Score": 0 }, "P5Q4": { "Answer": { "other": "", "tick": "Not stockout" }, "Score": 2 }, "P5Q5": { "Answer": { "other": "", "tick": "Not stockout" }, "Score": 2 }, "P6Q1": { "Answer": { "date": "2021-10-10", "person": "jhhu", "problem": "yffyyg", "solution": "vhghy" }, "Score": 0 }, "P6Q2": { "Answer": { "date": "2021-10-01", "person": "huhu", "problem": "hvyg", "solution": "hguh" }, "Score": 0 } }, "Quarter": "2021 Q3", "Rec_ID": 33, "VisitDate": "2021-10-13", "VisitorName": "Hem Vanna ", "VisitorSex": "M" }
Note
If Rec_ID is null or 0 it will insert new.
If Rec_ID is not null or not equal 0 it will update.
OD checklist
Get OD check list
- POST /api-checklist/v1/od/list
Get list of OD checklist
Parse as json:
{ "Code_Prov_T":"01", "Code_OD_T":"" }
Respone as json:
[ { "Rec_ID": 25, "Code_OD_T": "0102", "Quarter": "2021 Q3", "VisitDate": "2021-10-01", "VisitorName": "Tata", "VisitorSex": "F", "Part1Score": 34.19, "Part2Score": 2, "Part3Score": 0, "Part4Score": 0, "Code_Prov_T": "01" }, { "Rec_ID": 26, "Code_OD_T": "0102", "Quarter": "2021 Q3", "VisitDate": "2021-10-04", "VisitorName": "Vary", "VisitorSex": "F", "Part1Score": null, "Part2Score": null, "Part3Score": null, "Part4Score": null, "Code_Prov_T": "01" }, { "Rec_ID": 28, "Code_OD_T": "0102", "Quarter": "2021 Q3", "VisitDate": "2021-10-12", "VisitorName": "Rinna", "VisitorSex": "M", "Part1Score": null, "Part2Score": null, "Part3Score": null, "Part4Score": null, "Code_Prov_T": "01" } ]
OD check list detail
- POST /api-checklist/v1/od/list
Get detail data of OD checklist
Parse as json:
{ "Rec_ID": 123 }
Respone as json:
{ "Rec_ID": 25, "Code_OD_T": "0102", "Quarter": "2021 Q3", "VisitDate": "2021-10-01", "VisitorName": "តេស្ត", "VisitorSex": "F", "Part1Score": 34.19, "Part2Score": 2, "Part3Score": 0, "Part4Score": 0, "Code_Prov_T": "01", "Detail": { "P1Q1_1": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q1_2": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q1_3": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q2_1": { "Answer": { "plan": "3", "result": "3" }, "Score": 100 }, "P1Q2_2": { "Answer": { "plan": "11", "result": "1" }, "Score": 9 }, "P1Q2_3": { "Answer": { "plan": "1", "result": "1" }, "Score": 100 }, "P1Q3_1": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q3_2": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q3_3": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q4": { "Answer": { "other": "", "tick": "Yes" }, "Score": 5 }, "P1Q5": { "Answer": { "other": "", "tick": "Yes" }, "Score": 15 }, "P1Q6": { "Answer": { "other": "", "tick": "Yes" }, "Score": 5 }, "P1Q7": { "Answer": { "other": "", "tick": "Yes" }, "Score": 5 }, "P1Q8_1": { "Answer": { "plan": "15", "result": "2" }, "Score": 0.4 }, "P1Q8_2": { "Answer": { "plan": "8", "result": "2" }, "Score": 0.25 }, "P1Q8_3": { "Answer": { "plan": "50", "result": "2" }, "Score": 0.04 }, "P2Q1": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.5 }, "P2Q2": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.5 }, "P2Q3": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.5 }, "P2Q4": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.25 }, "P2Q5": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.25 }, "P3VMW_Test": { "Answer": "32", "Score": null }, "P3VMW_Positive": { "Answer": "2", "Score": null }, "P3VMW_Pf": { "Answer": "2", "Score": null }, "P3VMW_Pv": { "Answer": "2", "Score": null }, "P3VMW_Mix": { "Answer": "2", "Score": null }, "P3VMW_Minor": { "Answer": "2", "Score": null }, "P3VMW_Severe": { "Answer": "2", "Score": null }, "P3VMW_Death": { "Answer": "2", "Score": null }, "P3VMW_Report": { "Answer": "2", "Score": null }, "P3HC_Test": { "Answer": "2", "Score": null }, "P3HC_Positive": { "Answer": "2", "Score": null }, "P3HC_Pf": { "Answer": "2", "Score": null }, "P3HC_Pv": { "Answer": "2", "Score": null }, "P3HC_Mix": { "Answer": "2", "Score": null }, "P3HC_Minor": { "Answer": "2", "Score": null }, "P3HC_Severe": { "Answer": "2", "Score": null }, "P3HC_Death": { "Answer": "2", "Score": null }, "P3HC_Report": { "Answer": "2", "Score": null }, "P4Q1": { "Answer": "2", "Score": null }, "P4Q2": { "Answer": "2", "Score": null }, "P4Q3": { "Answer": "2", "Score": null }, "P4Q4": { "Answer": "2", "Score": null }, "P4Q5": { "Answer": "2", "Score": null }, "P5Q1": { "Answer": { "date": "2021-10-01", "person": "ងហ្", "problem": "ថថ", "solution": "ងត" }, "Score": null }, "P5Q2": { "Answer": { "date": "2021-10-01", "person": "ងរថរ", "problem": "ថង", "solution": "ងង" }, "Score": null } } }
Insert/Update OD check list
- POST /api-checklist/v1/od/update
Insert/Update OD check list
Parse as json:
{ "Code_OD_T": "0102", "Code_Prov_T": "01", "Detail": { "P1Q1_1": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q1_2": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q1_3": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q2_1": { "Answer": { "plan": "3", "result": "3" }, "Score": 1.67 }, "P1Q2_2": { "Answer": { "plan": "11", "result": "1" }, "Score": 0.15 }, "P1Q2_3": { "Answer": { "plan": "1", "result": "1" }, "Score": 1.67 }, "P1Q3_1": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q3_2": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q3_3": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q4": { "Answer": { "other": "", "tick": "No" }, "Score": 0 }, "P1Q5": { "Answer": { "other": "", "tick": "Yes" }, "Score": 15 }, "P1Q6": { "Answer": { "other": "", "tick": "Yes" }, "Score": 5 }, "P1Q7": { "Answer": { "other": "", "tick": "Yes" }, "Score": 5 }, "P1Q8_1": { "Answer": { "plan": "15", "result": "2" }, "Score": 0.4 }, "P1Q8_2": { "Answer": { "plan": "8", "result": "2" }, "Score": 0.25 }, "P1Q8_3": { "Answer": { "plan": "50", "result": "2" }, "Score": 0.08 }, "P2Q1": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.5 }, "P2Q2": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.5 }, "P2Q3": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.5 }, "P2Q4": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.25 }, "P2Q5": { "Answer": { "amc": "2", "balance": "2", "stockin": "2", "stockout": "2", "tick": "Under" }, "Score": 0.25 }, "P3HC_Death": { "Answer": "2", "Score": 0.56 }, "P3HC_Minor": { "Answer": "2", "Score": 0.56 }, "P3HC_Mix": { "Answer": "2", "Score": 0.56 }, "P3HC_Pf": { "Answer": "2", "Score": 0.56 }, "P3HC_Positive": { "Answer": "2", "Score": 0.56 }, "P3HC_Pv": { "Answer": "2", "Score": 0.56 }, "P3HC_Report": { "Answer": "2", "Score": 0.01 }, "P3HC_Severe": { "Answer": "2", "Score": 0 }, "P3HC_Test": { "Answer": "2", "Score": 0 }, "P3VMW_Death": { "Answer": "2", "Score": 0.56 }, "P3VMW_Minor": { "Answer": "2", "Score": 0.56 }, "P3VMW_Mix": { "Answer": "2", "Score": 0.56 }, "P3VMW_Pf": { "Answer": "2", "Score": 0.56 }, "P3VMW_Positive": { "Answer": "2", "Score": 0.56 }, "P3VMW_Pv": { "Answer": "2", "Score": 0.56 }, "P3VMW_Report": { "Answer": "2", "Score": 0.01 }, "P3VMW_Severe": { "Answer": "2", "Score": 0 }, "P3VMW_Test": { "Answer": "32", "Score": 0.02 }, "P4Q1": { "Answer": "2", "Score": 12 }, "P4Q2": { "Answer": "2", "Score": 4.5 }, "P4Q3": { "Answer": "2", "Score": 4.5 }, "P4Q4": { "Answer": "2", "Score": 4.5 }, "P4Q5": { "Answer": "2", "Score": 4.5 }, "P5Q1": { "Answer": { "date": "2021-10-01", "person": "ងហ្", "problem": "ážáž", "solution": "áž„áž" }, "Score": 0 }, "P5Q2": { "Answer": { "date": "2021-10-01", "person": "ងរážážš", "problem": "ážáž„", "solution": "ងង" }, "Score": 0 } }, "Part1Score": 34.19, "Part2Score": 2, "Part3Score": 0, "Part4Score": 0, "Quarter": "2021 Q3", "Rec_ID": 25, "VisitDate": "2021-10-01", "VisitorName": "ážáŸážŸáŸ’áž", "VisitorSex": "F" }
Note
if Rec_ID is 0 or null, it will insert new
if Rec_ID > 0, it will update
OD check list aditional data
- POST /api-checklist/v1/od/misdata
Get aditional data of OD checklist
Parse as json:
{ "Code_OD_T": "0102", "Quarter": 1 }
Respone as json:
{ "stockReport": 0, "stockACT": 92, "stockRDT": 100, "vmwTest": 0, "vmwPositive": null, "vmwPf": null, "vmwPv": null, "vmwMix": null, "vmwMinor": null, "vmwSevere": null, "vmwDeath": 0, "vmwReport": null, "hcTest": 0, "hcPositive": null, "hcPf": null, "hcPv": null, "hcMix": null, "hcMinor": null, "hcSevere": null, "hcDeath": 0, "hcReport": null, "pf": null, "pv": null, "mix": null, "pfL1": null, "pfLC": null, "pvL1": null, "pvLC": null, "mixL1": null, "mixLC": null, "pfFoci": null, "pvFoci": 0, "mixFoci": null }
EPI check list
EPI check list
- POST /api-checklist/v1/epi/list
Get list data of EPI checklist
Parse as json:
{ "Code_Prov_T":"01", "Code_OD_T":"", "Code_Facility_T":"" }
Respone as json:
[ { "Rec_ID": 8, "Code_Facility_T": "010402", "Quarter": "2021 Q3", "VisitDate": "2021-11-08", "VisitorName": "vanna", "VisitorSex": "M", "VisitorPosition": "data", "VisitorPhone": "0967333347", "VisitorWorkplace": "CNM", "Part1Score": 89, "Part2Score": 99, "Code_Prov_T": "01", "Code_OD_T": "0104" }, { "Rec_ID": 13, "Code_Facility_T": "010203", "Quarter": "2021 Q1", "VisitDate": "2022-01-04", "VisitorName": "i", "VisitorSex": "F", "VisitorPosition": "k", "VisitorPhone": "55", "VisitorWorkplace": "Province", "Part1Score": 2, "Part2Score": 6, "Code_Prov_T": "01", "Code_OD_T": "0102" } ]
EPI check list detail
- POST /api-checklist/v1/epi/detail
Get detail data of EPI checklist
Parse as json:
{ "Rec_ID":123 }
Respone as json:
{ "Rec_ID": 8, "Code_Facility_T": "010402", "Quarter": "2021 Q3", "VisitDate": "2021-11-08", "VisitorName": "vanna", "VisitorSex": "M", "VisitorPosition": "data", "VisitorPhone": "0967333347", "VisitorWorkplace": "CNM", "Part1Score": 89, "Part2Score": 99, "Code_Prov_T": "01", "Code_OD_T": "0104", "Detail": { "Q1": { "Answer": { "lastYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "1", "value3": "6", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "4", "value2": "4", "value3": "11", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" } }, "thisYear": { "hc": { "month1": "8", "month2": "9", "month3": "9", "value1": "1", "value2": "2", "value3": "3", "year": "2020" }, "total": { "month1": "8", "month2": "9", "month3": "9", "value1": "2", "value2": "4", "value3": "6", "year": "2020" }, "vmw": { "month1": "8", "month2": "9", "month3": "9", "value1": "1", "value2": "1", "value3": "1", "year": "2020" } } }, "Score": 0 }, "Q2": { "Answer": { "lastYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" } }, "thisYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2020" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2020" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2020" } } }, "Score": 0 }, "Q3": { "Answer": { "lastYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" } }, "thisYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2020" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2020" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2020" } } }, "Score": 0 }, "Q4": { "Answer": { "lastYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" } }, "thisYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2020" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2020" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2020" } } }, "Score": 0 }, "Q5": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" } }, "Score": 0 }, "Q6": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "", "month2": "", "month3": "", "value1": "", "value2": "", "value3": "", "year": "" }, "vmw": { "month1": "", "month2": "", "month3": "", "value1": "", "value2": "", "value3": "", "year": "" } }, "Score": 0 }, "Q7": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "", "month2": "", "month3": "", "value1": "", "value2": "", "value3": "", "year": "" }, "vmw": { "month1": "", "month2": "", "month3": "", "value1": "", "value2": "", "value3": "", "year": "" } }, "Score": 0 }, "Q8": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" } }, "Score": 0 }, "Q9": { "Answer": "ត្រឹមត្រូវ", "Score": 0 }, "Q10": { "Answer": "ល្អ", "Score": 0 }, "P1Q1": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "vmw": { "month1": "8", "month2": "7", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" } }, "Score": 10 }, "P1Q2": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" } }, "Score": 14 }, "P1Q3": { "Answer": { "other": "", "tick": [ "No internet" ] }, "Score": 0 }, "P1Q4": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" } }, "Score": 15 }, "P1Q5": { "Answer": { "other": "", "tick": [ "No internet" ] }, "Score": 0 }, "P1Q6": { "Answer": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "Score": 10 }, "P1Q6_1": { "Answer": "50", "Score": 0 }, "P1Q7": { "Answer": { "month1": "8", "month2": "9", "month3": "10", "value1": "0", "value2": "0", "value3": "0", "year": "2021" }, "Score": 10 }, "P1Q7_1": { "Answer": "50", "Score": 0 }, "P1Q8": { "Answer": { "other": "", "tick": [ "Far village", "Not enough staff", "Passing patient", "No reports from VMW", "Wait for OD" ] }, "Score": 0 }, "P1Q9": { "Answer": { "paper": { "IMP": "0", "L1": "0", "L2": "0", "L3": "0", "L4": "0" }, "tablet": { "IMP": "0", "L1": "0", "L2": "0", "L3": "0", "L4": "0" } }, "Score": 5 }, "P1Q10": { "Answer": { "other": "", "tick": "No" }, "Score": 5 }, "P1Q11": { "Answer": { "other": "", "percent1": "0", "percent2": "", "percent3": "", "qty1": "0", "qty2": "", "qty3": "", "tick": "Under 7 days" }, "Score": 20 }, "P2Q1": { "Answer": { "other": "", "percent1": "0", "percent2": "", "percent3": "", "qty1": "0", "qty2": "", "qty3": "", "tick": "Under 14 days" }, "Score": 20 }, "P2Q2": { "Answer": { "other": "", "qty1": "0", "qty2": "", "qty3": "", "tick": "Full" }, "Score": 20 }, "P2Q3": { "Answer": { "other": "", "qty1": "0", "qty2": "", "qty3": "", "tick": "Draw" }, "Score": 20 }, "P2Q4": { "Answer": { "other": "", "qty1": "0", "qty2": "", "qty3": "", "tick": "Done" }, "Score": 19 }, "P2Q5": { "Answer": { "bednet": "0", "educate": "0", "test": "0" }, "Score": 20 }, "Request": { "Answer": "ល្អ", "Score": 0 } } }
Insert/Update EPI check list
- POST /api-checklist/v1/epi/detail
Insert/Update data of EPI checklist
Parse as json:
{ "Code_Facility_T": "010203", "Detail": { "P1Q1": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "Score": 0 }, "P1Q10": { "Answer": { "other": "", "tick": "Yes" }, "Score": 0 }, "P1Q11": { "Answer": { "other": "", "percent1": "5", "percent2": "", "percent3": "", "qty1": "5", "qty2": "", "qty3": "", "tick": "Under 7 days" }, "Score": 0 }, "P1Q2": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "Score": 0 }, "P1Q3": { "Answer": { "other": "", "tick": [ "Phone\/Tablet broken" ] }, "Score": 0 }, "P1Q4": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "Score": 0 }, "P1Q5": { "Answer": { "other": "", "tick": [ "Tablet broken" ] }, "Score": 0 }, "P1Q6": { "Answer": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "Score": 2 }, "P1Q6_1": { "Answer": "10", "Score": 0 }, "P1Q7": { "Answer": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "Score": 0 }, "P1Q7_1": { "Answer": "30", "Score": 0 }, "P1Q8": { "Answer": { "other": "ooi", "tick": [ "Other" ] }, "Score": 0 }, "P1Q9": { "Answer": { "paper": { "IMP": "2", "L1": "5", "L2": "8", "L3": "6", "L4": "5" }, "tablet": { "IMP": "5", "L1": "5", "L2": "5", "L3": "2", "L4": "5" } }, "Score": 0 }, "P2Q1": { "Answer": { "other": "", "percent1": "5", "percent2": "", "percent3": "", "qty1": "4", "qty2": "", "qty3": "", "tick": "Under 14 days" }, "Score": 0 }, "P2Q2": { "Answer": { "other": "", "qty1": "55", "qty2": "", "qty3": "", "tick": "Full" }, "Score": 6 }, "P2Q3": { "Answer": { "other": "", "qty1": "5", "qty2": "", "qty3": "", "tick": "Draw" }, "Score": 0 }, "P2Q4": { "Answer": { "other": "", "qty1": "55", "qty2": "", "qty3": "", "tick": "Done" }, "Score": 0 }, "P2Q5": { "Answer": { "bednet": "5", "educate": "8", "test": "8" }, "Score": 0 }, "Q1": { "Answer": { "lastYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "thisYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } } }, "Score": 0 }, "Q10": { "Answer": "i", "Score": 0 }, "Q2": { "Answer": { "lastYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "thisYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } } }, "Score": 0 }, "Q3": { "Answer": { "lastYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "thisYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } } }, "Score": 0 }, "Q4": { "Answer": { "lastYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "thisYear": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } } }, "Score": 0 }, "Q5": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "Score": 0 }, "Q6": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "Score": 0 }, "Q7": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "Score": 0 }, "Q8": { "Answer": { "hc": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" }, "total": { "month1": "8", "month2": "9", "month3": "10", "value1": "2", "value2": "2", "value3": "2", "year": "2021" }, "vmw": { "month1": "8", "month2": "9", "month3": "10", "value1": "1", "value2": "1", "value3": "1", "year": "2021" } }, "Score": 0 }, "Q9": { "Answer": "i", "Score": 0 }, "Request": { "Answer": "ko", "Score": 0 } }, "Part1Score": 2, "Part2Score": 6, "Quarter": "2021 Q1", "Rec_ID": 13, "VisitDate": "2022-01-04", "VisitorName": "i", "VisitorPhone": "55", "VisitorPosition": "k", "VisitorSex": "F", "VisitorWorkplace": "Province" }