ODORA

Untitled

Apr 3rd, 2023
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.08 KB | None | 0 0
  1. {
  2. "name": "Covid19 Dail Case Symptoms Monitoring Form",
  3. "description" : "Covid19 Daily Case Symptoms Monitoring Form",
  4. "version" : "2",
  5. "published" : true,"pages": [
  6. {
  7. "label": "Infant Details",
  8. "sections": [
  9. {
  10. "label": "Children Details",
  11. "isExpanded": "true",
  12. "questions": [
  13. {
  14. "id": "childrenDetails",
  15. "label": "Children Details",
  16. "type": "obsGroup",
  17. "questionOptions": {
  18. "rendering": "repeating",
  19. "concept": "1c70c490-cafa-4c95-9fdd-a30b62bb78b8"
  20. },
  21. "behaviours":[
  22. {
  23. "intent":"*",
  24. "required":"false",
  25. "unspecified":"false",
  26. "hide":{
  27. "hideWhenExpression":""
  28. },
  29. "validators":[]
  30. }
  31. ],
  32. "questions": [
  33. {
  34. "label": "Sex",
  35. "type":"obs",
  36. "questionOptions":{
  37. "rendering":"radio",
  38. "concept":"1587AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  39. "answers":[
  40. {
  41. "concept":"1535AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  42. "label":"Female"
  43. },
  44. {
  45. "concept":"1534AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  46. "label":"Male"
  47. }
  48. ]
  49. },
  50. "id":"childSex",
  51. "behaviours":[
  52. {
  53. "intent":"*",
  54. "required":"true",
  55. "unspecified":"true",
  56. "hide":{
  57. "hideWhenExpression":"false"
  58. },
  59. "validators":[]
  60. }
  61. ]
  62. },
  63. {
  64. "label": "Date of Birth",
  65. "type": "obs",
  66. "questionOptions": {
  67. "rendering": "date",
  68. "concept": "164802AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  69. "weeksList": ""
  70. },
  71. "id": "birthDate",
  72. "behaviours": [
  73. {
  74. "intent": "*",
  75. "required": "true",
  76. "unspecified": "true",
  77. "hide": {
  78. "hideWhenExpression": "false"
  79. },
  80. "validators": [
  81. {
  82. "type": "date",
  83. "allowFutureDates": "false"
  84. },
  85. {
  86. "type": "js_expression",
  87. "failsWhenExpression": "!isDateEqualTo(myValue, useFieldValue('visit_date'))",
  88. "message": "Child birth date should be the same as the visit date!"
  89. }
  90. ]
  91. }
  92. ]
  93. },
  94. {
  95. "label": "Infant Status at birth",
  96. "type":"obs",
  97. "questionOptions":{
  98. "rendering":"radio",
  99. "concept":"159917AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  100. "answers":[
  101. {
  102. "concept":"151849AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  103. "label":"Infant alive"
  104. },
  105. {
  106. "concept":"154223AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  107. "label":"Infant Died (Neonatal Death)"
  108. },
  109. {
  110. "concept":"125872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  111. "label":"Still Birth"
  112. },
  113. {
  114. "concept": "54b96458-6585-4c4c-a5b1-b3ca7f1be351",
  115. "label": "Missing"
  116. }
  117. ]
  118. },
  119. "id":"infantStatus",
  120. "behaviours":[
  121. {
  122. "intent":"*",
  123. "required":"true",
  124. "hide":{
  125. "hideWhenExpression":"false"
  126. },
  127. "validators":[]
  128. }
  129. ]
  130. },
  131. {
  132. "label": "Infant Feeding at discharge",
  133. "type":"obs",
  134. "questionOptions":{
  135. "rendering":"radio",
  136. "concept":"1151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  137. "answers":[
  138. {
  139. "concept":"5526AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  140. "label":"EBF=Exclusive Breastfeeding"
  141. },
  142. {
  143. "concept":"1595AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  144. "label":"RF=Replacement feeding"
  145. },
  146. {
  147. "concept": "54b96458-6585-4c4c-a5b1-b3ca7f1be351",
  148. "label": "Missing"
  149. }
  150. ]
  151. },
  152. "id":"infantFeeding",
  153. "behaviours":[
  154. {
  155. "intent":"*",
  156. "required":"true",
  157. "hide":{
  158. "hideWhenExpression":"infantStatus !== '151849AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && infantStatus !== '154223AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
  159. },
  160. "validators":[]
  161. }
  162. ]
  163. },
  164. {
  165. "label": "Type of still birth",
  166. "type":"obs",
  167. "questionOptions":{
  168. "rendering":"radio",
  169. "concept":"125872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  170. "answers":[
  171. {
  172. "concept":"159916AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  173. "label":"Fresh"
  174. },
  175. {
  176. "concept":"135436AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  177. "label":"Macerated"
  178. },
  179. {
  180. "concept": "54b96458-6585-4c4c-a5b1-b3ca7f1be351",
  181. "label": "Missing"
  182. }
  183. ]
  184. },
  185. "id":"stillBirthType",
  186. "behaviours":[
  187. {
  188. "intent":"*",
  189. "required":"true",
  190. "hide":{
  191. "hideWhenExpression":"infantStatus !== '125872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
  192. },
  193. "validators":[]
  194. }
  195. ]
  196. },
  197. {
  198. "label": "Infant Received ARV",
  199. "type":"obs",
  200. "questionOptions":{
  201. "rendering":"radio",
  202. "concept":"1148AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  203. "answers":[
  204. {
  205. "concept":"83a60fef-31c6-4937-907b-42ced15474e3",
  206. "label":"NVP Prophylaxis daily up to 6 weeks"
  207. },
  208. {
  209. "concept":"99b29c50-fc67-11e8-8eb2-f2801f1b9fd1",
  210. "label":"Infant received NVP + AZT prophylaxis up to 6 weeks"
  211. },
  212. {
  213. "concept":"127750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  214. "label":"Refused ARV Prophylaxis"
  215. },
  216. {
  217. "concept":"1754AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  218. "label":"Stock-out of ARV Prophylaxis"
  219. },
  220. {
  221. "concept": "54b96458-6585-4c4c-a5b1-b3ca7f1be351",
  222. "label": "Missing"
  223. }
  224. ]
  225. },
  226. "id":"receivedARV",
  227. "behaviours":[
  228. {
  229. "intent":"*",
  230. "required":"true",
  231. "hide":{
  232. "hideWhenExpression":"infantStatus !== '151849AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && infantStatus !== '154223AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
  233. },
  234. "validators":[]
  235. }
  236. ]
  237. },
  238. {
  239. "label": "Reason for refusing infant ARV prophylaxis",
  240. "type": "obs",
  241. "id": "refused_prophylaxis",
  242. "questionOptions": {
  243. "concept": "163322AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  244. "rendering": "textarea"
  245. },
  246. "behaviours":[
  247. {
  248. "intent":"*",
  249. "required":"true",
  250. "unspecified":"true",
  251. "hide":{
  252. "hideWhenExpression":"receivedARV !== '127750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
  253. }
  254. }
  255. ]
  256. },
  257. {
  258. "label": "Date of Death",
  259. "type": "obs",
  260. "questionOptions": {
  261. "rendering": "date",
  262. "concept": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  263. "weeksList": ""
  264. },
  265. "id": "deathDate",
  266. "behaviours": [
  267. {
  268. "intent": "*",
  269. "required": "true",
  270. "unspecified": "true",
  271. "hide": {
  272. "hideWhenExpression": "infantStatus !== '154223AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
  273. },
  274. "validators": [
  275. {
  276. "type": "date",
  277. "allowFutureDates": "false"
  278. },
  279. {
  280. "type": "js_expression",
  281. "failsWhenExpression": "myValue > today() || myValue <= '1/1/1950'"
  282. }
  283. ]
  284. }
  285. ]
  286. },
  287. {
  288. "label": "Infant PTracker ID",
  289. "type": "obs",
  290. "id": "infantPtrackerid",
  291. "questionOptions": {
  292. "concept": "164803AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  293. "rendering": "text"
  294. },
  295. "behaviours":[
  296. {
  297. "intent":"*",
  298. "required":"true",
  299. "hide":{
  300. "hideWhenExpression":"infantStatus === '125872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
  301. },
  302. "validators": [
  303. {
  304. "type": "js_expression",
  305. "failsWhenExpression": "!/^[0-9]{5}[A-Z]{1}[0-9]{7,8}$$/.test(myValue)",
  306. "message": "Invalid Ptracker number"
  307. }
  308. ]
  309. }
  310. ]
  311. }
  312. ]
  313. }
  314. ]
  315. }
  316. ]
  317. }
  318. ],
  319. "processor": "EncounterFormProcessor",
  320. "uuid": "368b99cb-ac17-4d4a-b4db-7bd6a83e72f0",
  321. "referencedForms": []
  322. }
Add Comment
Please, Sign In to add comment