{"help": "https://data.pattaya.go.th/th/api/3/action/help_show?name=datastore_search", "success": true, "result": {"include_total": true, "limit": 100, "records_format": "objects", "resource_id": "7e9e4940-e84d-466c-85f4-5d24e0395c4a", "total_estimation_threshold": null, "records": [{"_id":1,"year":2567,"rehab_location_id":1,"rehab_location_name":"ในสถานศึกษา","substance_type_id":1,"substance_type_name":"ใช้สารเสพติด","patient_count":"44","completed_treatment_count":"2","discontinued_treatment_count":"42"},{"_id":2,"year":2567,"rehab_location_id":2,"rehab_location_name":"ในสถานประกอบการ","substance_type_id":1,"substance_type_name":"ใช้สารเสพติด","patient_count":"0","completed_treatment_count":"0","discontinued_treatment_count":"0"},{"_id":3,"year":2567,"rehab_location_id":3,"rehab_location_name":"ในชุมชน","substance_type_id":1,"substance_type_name":"ใช้สารเสพติด","patient_count":"42","completed_treatment_count":"0","discontinued_treatment_count":"42"},{"_id":4,"year":2567,"rehab_location_id":4,"rehab_location_name":"ในหน่วยงานต่างๆ","substance_type_id":1,"substance_type_name":"ใช้สารเสพติด","patient_count":"0","completed_treatment_count":"6","discontinued_treatment_count":"0"},{"_id":5,"year":2567,"rehab_location_id":5,"rehab_location_name":"คลินิกอดบุหรี่โรงพยาบาล","substance_type_id":2,"substance_type_name":"บุหรี่และบุหรีไฟฟ้า","patient_count":"149","completed_treatment_count":"19","discontinued_treatment_count":"0"},{"_id":6,"year":2567,"rehab_location_id":6,"rehab_location_name":"คลินิกอดบุหรี่เคลื่อนที่ในสถานศึกษา","substance_type_id":2,"substance_type_name":"บุหรี่และบุหรีไฟฟ้า","patient_count":"152","completed_treatment_count":"152","discontinued_treatment_count":"0"},{"_id":7,"year":2567,"rehab_location_id":7,"rehab_location_name":"คลินิกอดบุหรี่เคลื่อนที่ในสถานประกอบการ","substance_type_id":2,"substance_type_name":"บุหรี่และบุหรีไฟฟ้า","patient_count":"24","completed_treatment_count":"24","discontinued_treatment_count":"0"},{"_id":8,"year":2567,"rehab_location_id":8,"rehab_location_name":"คลินิกอดบุหรี่เคลื่อนที่ในชุมชน","substance_type_id":2,"substance_type_name":"บุหรี่และบุหรีไฟฟ้า","patient_count":"13","completed_treatment_count":"3","discontinued_treatment_count":"10"},{"_id":9,"year":2567,"rehab_location_id":1,"rehab_location_name":"คลินิกอดบุหรี่เคลื่อนที่ในหน่วยงานต่างๆ","substance_type_id":2,"substance_type_name":"บุหรี่และบุหรีไฟฟ้า","patient_count":"18","completed_treatment_count":"10","discontinued_treatment_count":"8"},{"_id":10,"year":2568,"rehab_location_id":2,"rehab_location_name":"สถานศึกษา","substance_type_id":1,"substance_type_name":"ใช้สารเสพติด","patient_count":"55","completed_treatment_count":"33","discontinued_treatment_count":"22"},{"_id":11,"year":2568,"rehab_location_id":3,"rehab_location_name":"สถานประกอบการ","substance_type_id":1,"substance_type_name":"ใช้สารเสพติด","patient_count":"3","completed_treatment_count":"3","discontinued_treatment_count":"-"},{"_id":12,"year":2568,"rehab_location_id":4,"rehab_location_name":"ชุมชน","substance_type_id":1,"substance_type_name":"ใช้สารเสพติด","patient_count":"155","completed_treatment_count":"86","discontinued_treatment_count":"69"},{"_id":13,"year":2568,"rehab_location_id":5,"rehab_location_name":"หน่วยงานต่างๆ","substance_type_id":1,"substance_type_name":"ใช้สารเสพติด","patient_count":"3","completed_treatment_count":"2","discontinued_treatment_count":"1"},{"_id":14,"year":2568,"rehab_location_id":6,"rehab_location_name":"คลินิกบุหรี่ในโรงพยาบาล","substance_type_id":2,"substance_type_name":"ใช้บุหรี่ บุหรี่ไฟฟ้า","patient_count":"79","completed_treatment_count":"19","discontinued_treatment_count":"60"},{"_id":15,"year":2568,"rehab_location_id":7,"rehab_location_name":"คลินิกบุหรี่ในสถานศึกษา","substance_type_id":2,"substance_type_name":"ใช้บุหรี่ บุหรี่ไฟฟ้า","patient_count":"304","completed_treatment_count":"304","discontinued_treatment_count":"-"},{"_id":16,"year":2568,"rehab_location_id":8,"rehab_location_name":"คลินิกบุหรี่ในสถานประกอบการ","substance_type_id":2,"substance_type_name":"ใช้บุหรี่ บุหรี่ไฟฟ้า","patient_count":" -","completed_treatment_count":" -","discontinued_treatment_count":" -"},{"_id":17,"year":2568,"rehab_location_id":9,"rehab_location_name":"คลินิกบุหรี่ในชุมชน","substance_type_id":2,"substance_type_name":"ใช้บุหรี่ บุหรี่ไฟฟ้า","patient_count":"16","completed_treatment_count":"9","discontinued_treatment_count":"7"},{"_id":18,"year":2568,"rehab_location_id":10,"rehab_location_name":"คลินิกบุหรี่ในหน่วยงานต่างๆ","substance_type_id":2,"substance_type_name":"ใช้บุหรี่ บุหรี่ไฟฟ้า","patient_count":"18","completed_treatment_count":"12","discontinued_treatment_count":"6"}], "fields": [{"id": "_id", "type": "int"}, {"id": "year", "type": "numeric"}, {"id": "rehab_location_id", "type": "numeric"}, {"id": "rehab_location_name", "type": "text"}, {"id": "substance_type_id", "type": "numeric"}, {"id": "substance_type_name", "type": "text"}, {"id": "patient_count", "type": "text"}, {"id": "completed_treatment_count", "type": "text"}, {"id": "discontinued_treatment_count", "type": "text"}], "_links": {"start": "/api/3/action/datastore_search?resource_id=7e9e4940-e84d-466c-85f4-5d24e0395c4a", "next": "/api/3/action/datastore_search?resource_id=7e9e4940-e84d-466c-85f4-5d24e0395c4a&offset=100"}, "total": 18, "total_was_estimated": false}}