Advertisement
burke

Untitled

Aug 12th, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. {
  2. "name": "test poc form",
  3. "uuid": "xxxx",
  4. "processor": "postEncounterForm",
  5. "pages": [
  6. {
  7. "label": "page 1",
  8. "sections": [
  9. {
  10. "label": "Encounter Details",
  11. "questions": [
  12. {
  13. "label": "Visit Date",
  14. "type": "encounterDate",
  15. "required": "true"
  16. },
  17. {
  18. "type": "encounterProvider",
  19. "label": "Provider",
  20. "required": "true"
  21. },
  22. {
  23. "type": "encounterLocation",
  24. "label": "Facility Name",
  25. "required": "true"
  26. }
  27. ]
  28. },
  29. {
  30. "label": "Visit Type",
  31. "questions": [
  32. {
  33. "concept": "AMRS:1839",
  34. "label": "7a. Visit Type",
  35. "type": "select",
  36. "validators": [],
  37. "answers":[
  38. {"concept": "AMRS:1246", "label": "Scheduled visit"},
  39. {"concept": "AMRS:1837", "label": "Unscheduled Visit Early"},
  40. {"concept": "AMRS:1838", "label": "Unscheduled Visit Late"}
  41. ]
  42. },
  43. {
  44. "concept_uuid": "AMRS:7029",
  45. "type": "date",
  46. "validators": [ {"type": "date", "allowFutureDates": "true"} ],
  47. "label": "7b. If Unscheduled, actual scheduled date",
  48. }
  49. ]
  50. },
  51. {
  52. "label": "Current Tuberculosis",
  53. "questions": [
  54. {
  55. "concept": "AMRS:8069",
  56. "type": "group",
  57. "questions": [
  58. {
  59. "concept": "AMRS:8068",
  60. "label": "c. Site of TB meds pick-up",
  61. "type": "select",
  62. "answers":[
  63. {"concept": "AMRS:1286", "label": "This Ampath site"},
  64. {"concept": "AMRS:5622", "label": "Other" }
  65. ]
  66. },
  67. {
  68. "concept": "AMRS:1915",
  69. "label": "Other Site (Specify)"
  70. "type": "text"
  71. }
  72. ]
  73. },
  74. {
  75. "concept": "AMRS:6196",
  76. "type": "group_repeating",
  77. "questions": [
  78. {
  79. "concept": "AMRS:1111",
  80. "label": "d. Current TB Regimen",
  81. "type": "select",
  82. "validators": []
  83. "answers":[
  84. {"concept": "AMRS:1131", "label": "RHZE"},
  85. {"concept": "AMRS:768", "label": "RHZ"}
  86. {"concept": "AMRS:2231", "label": "RHE"},
  87. {"concept": "AMRS:1108", "label": "EH"},
  88. {"concept": "AMRS:745", "label": "Ethambutol"},
  89. {"concept": "AMRS:2161", "label": "MDR drugs"},
  90. {"concept": "AMRS:656", "label": "INH"},
  91. {"concept": "AMRS:5829", "label": "Pyrazinamide"},
  92. {"concept": "AMRS:438", "label": "Streptomycin"},
  93. {"concept": "AMRS:5622", "label": "Other"},
  94. {"concept": "AMRS:6983", "label": "Rifabutin"}
  95. ]
  96. },
  97. {
  98. "concept": "AMRS:1920", "label": "tabs/day", "type": "number"
  99. },
  100. {
  101. "concept": "AMRS:1899", "label": "mg", "type": "number"
  102. },
  103. {
  104. "concept": "AMRS:1921", "label": "mg/day", "type": "number"
  105. },
  106. {
  107. "concept": "AMRS:1898", "label": "tabs", "type": "number"
  108. }
  109. ]
  110. }
  111. ]
  112. }
  113. ]
  114. }
  115. ]
  116. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement