검안정보.Json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. SET @json_t = '{
  2. "REyeLens": {
  3. "Sph": "",
  4. "Cyl": "",
  5. "Axis": "",
  6. "LongPd": "11",
  7. "Add": "",
  8. "ShortPd": "",
  9. "BaseIo": "/",
  10. "BaseUd": "/",
  11. "BareEye": "",
  12. "Adjust": ""
  13. },
  14. "LEyeLens": {
  15. "Sph": "",
  16. "Cyl": "",
  17. "Axis": "",
  18. "LongPd": "11",
  19. "Add": "",
  20. "ShortPd": "",
  21. "BaseIo": "/",
  22. "BaseUd": "/",
  23. "BareEye": "",
  24. "Adjust": ""
  25. },
  26. "RContLens": {
  27. "Sph": "",
  28. "Cyl": "",
  29. "Axis": "",
  30. "Add": "",
  31. "Bc": "",
  32. "Dia": "",
  33. "Kerato": "",
  34. "Prescript": "",
  35. "Adjust": ""
  36. },
  37. "LContLens": {
  38. "Sph": "",
  39. "Cyl": "",
  40. "Axis": "",
  41. "Add": "",
  42. "Bc": "",
  43. "Dia": "",
  44. "Kerato": "",
  45. "Prescript": "",
  46. "Adjust": ""
  47. },
  48. "Symptoms": "",
  49. "OldREyeLens": {
  50. "Sph": "",
  51. "Cyl": "",
  52. "Axis": "",
  53. "LongPd": "",
  54. "Add": "",
  55. "ShortPd": "",
  56. "BaseIo": "/",
  57. "BaseUd": "/",
  58. "BareEye": "",
  59. "Adjust": ""
  60. },
  61. "OldLEyeLens": {
  62. "Sph": "",
  63. "Cyl": "",
  64. "Axis": "",
  65. "LongPd": "",
  66. "Add": "",
  67. "ShortPd": "",
  68. "BaseIo": "/",
  69. "BaseUd": "/",
  70. "BareEye": "",
  71. "Adjust": ""
  72. },
  73. "CcREyeLens": {
  74. "Sph": "",
  75. "Cyl": "",
  76. "Axis": "",
  77. "LongPd": "",
  78. "Add": "",
  79. "ShortPd": "",
  80. "BaseIo": "/",
  81. "BaseUd": "/",
  82. "BareEye": "",
  83. "Adjust": ""
  84. },
  85. "CcLEyeLens": {
  86. "Sph": "",
  87. "Cyl": "",
  88. "Axis": "",
  89. "LongPd": "",
  90. "Add": "",
  91. "ShortPd": "",
  92. "BaseIo": "/",
  93. "BaseUd": "/",
  94. "BareEye": "",
  95. "Adjust": ""
  96. },
  97. "FixEye": 0,
  98. "Stereosia": 0,
  99. "ColorVision": 0,
  100. "OdImGrid": 0,
  101. "OsImGrid": 0,
  102. "Screen": {
  103. "Shielding": {
  104. "Long": "",
  105. "Short": ""
  106. },
  107. "FourDot": {
  108. "Long": 0,
  109. "Short": 0,
  110. "LongStr": "",
  111. "ShortStr": ""
  112. },
  113. "Converge": {
  114. "Normal": 0,
  115. "Str": ""
  116. },
  117. "Near": {
  118. "OdStr": "",
  119. "OsStr": ""
  120. },
  121. "Easy": {
  122. "OuStr": "",
  123. "OdStr": "",
  124. "OsStr": ""
  125. }
  126. },
  127. "BroadH": {
  128. "X": "[]",
  129. "Y": "[]",
  130. "Drage": "[]"
  131. },
  132. "Bincular": {
  133. "Location": {
  134. "LongHori": "",
  135. "LongVert": "",
  136. "ShortHori": "",
  137. "ShortVert": ""
  138. },
  139. "Relative": {
  140. "Pra": "",
  141. "Nra": ""
  142. },
  143. "Lag": 0,
  144. "Aca": "",
  145. "Fusion": {
  146. "LongBo": {
  147. "Clo": "",
  148. "Dis": "",
  149. "Rec": ""
  150. },
  151. "LongBi": {
  152. "Clo": "",
  153. "Dis": "",
  154. "Rec": ""
  155. },
  156. "LongOdBd": {
  157. "Dis": "",
  158. "Rec": ""
  159. },
  160. "LongOdBu": {
  161. "Dis": "",
  162. "Rec": ""
  163. },
  164. "LongOsBd": {
  165. "Dis": "",
  166. "Rec": ""
  167. },
  168. "LongOsBu": {
  169. "Dis": "",
  170. "Rec": ""
  171. },
  172. "ShortBo": {
  173. "Clo": "",
  174. "Dis": "",
  175. "Rec": ""
  176. },
  177. "ShortBi": {
  178. "Clo": "",
  179. "Dis": "",
  180. "Rec": ""
  181. },
  182. "ShortOdBd": {
  183. "Dis": "",
  184. "Rec": ""
  185. },
  186. "ShortOdBu": {
  187. "Dis": "",
  188. "Rec": ""
  189. },
  190. "ShortOsBd": {
  191. "Dis": "",
  192. "Rec": ""
  193. },
  194. "ShortOsBu": {
  195. "Dis": "",
  196. "Rec": ""
  197. }
  198. }
  199. },
  200. "Pameter": {
  201. "Oh": {
  202. "R": "",
  203. "L": ""
  204. },
  205. "Pd": {
  206. "R": "",
  207. "L": ""
  208. },
  209. "Distance": {
  210. "R": "",
  211. "L": ""
  212. },
  213. "Inset": {
  214. "R": "",
  215. "L": ""
  216. },
  217. "Face": "",
  218. "Tilt": "",
  219. "Length": ""
  220. },
  221. "Payment": {
  222. "CardCompany": "",
  223. "CashReceipt": "",
  224. "GiftCard": ""
  225. }
  226. }';
  227. SELECT json_extract(@json_t, '$.REyeLens.LongPd');