https://moph.cc/RmQ6B3ibA
วันจันทร์ที่ 15 มีนาคม พ.ศ. 2564
ดูไว้ครับ
ทีมงานเลียงอิลาน ดูเรื่องนี้ไว้นะครับ
https://docs.google.com/document/d/1JMvjdh-sP2DhnIUyUhmKi5_PQrVSM0Dx2HsaJDfoF3w/edit
https://drive.google.com/drive/folders/1WMwtMemnRjMUF8fQqDD7hwehGznBd_mw
วันพฤหัสบดีที่ 11 มีนาคม พ.ศ. 2564
วันศุกร์ที่ 5 มีนาคม พ.ศ. 2564
วันพุธที่ 3 มีนาคม พ.ศ. 2564
JSON คือ
Json คืออะไร
https://www.boxsi
https://www.borntodev.com/2020/02/28/what-is-json/
https://sysadmin.psu.ac.th/
https://www.thaicreate.com/php/forum/125062.html//ครอบjson แสดงเข้าใจดีมากครับ
https://alexwebdevelop.com/php-json-backend/ //neted json object
https://stackoverflow.com/questions .//Nested Json อย่างดี
https://stackoverflow.com/questions/
https://stackoverflow.com/questions/50109589/create-nested-json-objects-using-php//while loop
https://www.daniweb.com/programming/web-development/threads/495880/nested-loop-in-json-using-php
https://stackoverflow.com/questions/32571761/complex-nested-json-array-from-php-coding
https://stackoverflow.com/questions/41069246/nested-json-php-array
https://saixiii.com/database-sql-sub-query/
Vaccine Covid19
Spec ตาม API ในคู่มือ
https://docs.google.com/document/d/1Inyhfrte0pECsD8YoForTL2W8B2hOxezf0GpTGEjJr8/edit
* patient.gender ต้องเป็น ตัวเลขครับ คือไม่ต้องมี "" ครอบ
visit.visit_datetime ต้องอยู่ในรูปแบบ YYYY-MM-DDTHH:NN:SS.000Z
visit_observation. xxx ส่วนใหญ่จะเป็นตัวเลข ซึ่งไม่ต้องมี "" ครอบ
*ปัญหาส่วนใหญ่อยู่ตรง datatype ที่ต้องเป็นตัวเลข แต่ข้อมูลที่ส่งเข้ามาส่งมาแบบตัวอักษรครับ
* เช่นเดียวกับข้อมูลประเภท Datetime นะครับควรจัดให้อยู่ใน format ที่ตรงตาม spec ที่กำหนดครับ
* visit_immunization ผมอยากให้ส่ง vaccine_manufacturer เข้ามาด้วยครับ เพราะจำเป็นต้องใช้ในการตรวจสอบว่าเป็น vaccine จากบริษัทอะไรครับ
* และต้องอยู่ใน list ของ lookup นี้นะครับ
https://cvp1.moph.go.th/api/LookupTable?table_name=vaccine_manufacturer
ลองเอา json ไป validate ดูก่อนที่เว็บ
https://jsonformatter.curiousconcept.com/#
SELECT a ISO 8601 Date.
DATE_FORMAT(date, '%Y-%m-%dT%TZ')
DATE_FORMAT(c.vac_datetime1,'%Y-%m-%dT%TZ') as visit_datetime,//ตังอย่างในmysql
https://drive.google.com/file/d/1Z15cfw_cRR2HUxpxNHoLcQ5rkq-_WZvd/view//AEFI