{"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": "9d6f5678-7b73-4147-b693-d93030890f46", "total_estimation_threshold": null, "records": [{"_id":1,"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,"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,"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,"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,"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,"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,"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,"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,"rehab_location_id":9,"rehab_location_name":"คลินิกอดบุหรี่เคลื่อนที่ในหน่วยงานต่างๆ","substance_type_id":2,"substance_type_name":"บุหรี่และบุหรีไฟฟ้า","patient_count":18,"completed_treatment_count":10,"discontinued_treatment_count":8},{"_id":10,"rehab_location_id":null,"rehab_location_name":null,"substance_type_id":null,"substance_type_name":null,"patient_count":null,"completed_treatment_count":null,"discontinued_treatment_count":null}], "fields": [{"id": "_id", "type": "int"}, {"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": "numeric"}, {"id": "completed_treatment_count", "type": "numeric"}, {"id": "discontinued_treatment_count", "type": "numeric"}], "_links": {"start": "/api/3/action/datastore_search?resource_id=9d6f5678-7b73-4147-b693-d93030890f46", "next": "/api/3/action/datastore_search?resource_id=9d6f5678-7b73-4147-b693-d93030890f46&offset=100"}, "total": 10, "total_was_estimated": false}}