Advertisement
willa

AMPATH JSON Schema

Jul 27th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 16.49 KB | None | 0 0
  1. {
  2.     "name": "AMPATH POC Adult Return",
  3.     "uuid": "xxxx",
  4.     "processor": "EncounterFormProcessor",
  5.     "referencedForms": [
  6.         {
  7.             "ref": {
  8.               "uuid": "36dabf20-89a7-41ba-a358-246ba7cf120a",
  9.               "display": "Pre Clinic Review Component"
  10.             },
  11.             "alias": "pcr"
  12.         },
  13.         {
  14.             "ref": {
  15.               "uuid": "0e048527-7b32-4807-9876-ce827120f1ee",
  16.               "display": "Hospitalization Component"
  17.             },
  18.             "alias": "hosp"
  19.         },
  20.         {
  21.             "ref": {
  22.               "uuid": "992cc76c-5a6f-4065-9e30-665f91f2a454",
  23.               "display": "ART Component"
  24.             },
  25.             "alias": "art"
  26.         },
  27.         {
  28.             "ref": {
  29.               "uuid": "d3e4ad24-1188-4426-b855-ee658993ec03",
  30.               "display": "PCP Prophylaxis Component"
  31.             },
  32.             "alias": "pcp"
  33.         },
  34.         {
  35.             "ref": {
  36.               "uuid": "0602aacc-e797-4d26-a9e9-1556f012d46f",
  37.               "display": "TB Prophylaxis Component"
  38.             },
  39.             "alias": "tbp"
  40.         },
  41.         {
  42.             "ref": {
  43.               "uuid": "19b6f27b-66b0-4900-9ade-b2288284e5ed",
  44.               "display": "TB Treatment Component"
  45.             },
  46.             "alias": "tbt"
  47.         },
  48.         {
  49.             "ref": {
  50.               "uuid": "f5f5e3a8-3932-409a-b004-1327e85b3aeb",
  51.               "display": "Other Medication Component"
  52.             },
  53.             "alias": "omed"
  54.         },
  55.         {
  56.             "ref": {
  57.               "uuid": "8dac57da-c361-4b25-8b7d-e9d15f0de3a6",
  58.               "display": "Crypto Component"
  59.             },
  60.             "alias": "cryp"
  61.         },
  62.         {
  63.             "ref": {
  64.               "uuid": "a789ac5f-4193-4134-8aa5-51674f4b40be",
  65.               "display": "Side Effect Component"
  66.             },
  67.             "alias": "se"
  68.         },
  69.         {
  70.             "ref": {
  71.               "uuid": "8f741de0-6dba-4994-86d5-ddc7a41cfb74",
  72.               "display": "Vitals Component"
  73.             },
  74.             "alias": "vt"
  75.         },
  76.         {
  77.             "ref": {
  78.               "uuid": "86b7dbdb-8cd3-4f9d-a153-d39e3e05717e",
  79.               "display": "HPI Component"
  80.             },
  81.             "alias": "hpi"
  82.         },
  83.         {
  84.             "ref": {
  85.               "uuid": "fc2231a7-ede6-42e2-9330-0bc7ed687d46",
  86.               "display": "Problem List Component"
  87.             },
  88.             "alias": "pl"
  89.         },
  90.         {
  91.             "ref": {
  92.               "uuid": "0ca17b59-e0e6-4280-9b50-d75847ecac9e",
  93.               "display": "Who Staging Component"
  94.             },
  95.             "alias": "who"
  96.         },
  97.         {
  98.             "ref": {
  99.               "uuid": "bbf06310-1023-4768-a7f7-8b4a9d69ab9e",
  100.               "display": "Lab Results Component"
  101.             },
  102.             "alias": "tr"
  103.         },
  104.         {
  105.             "ref": {
  106.               "uuid": "c02a1e45-eb1a-4890-b3f9-3f29697176ce",
  107.               "display": "Assessment Component"
  108.             },
  109.             "alias": "ass"
  110.         },
  111.         {
  112.             "ref": {
  113.               "uuid": "812a7e5e-4e3d-4f57-b2db-1ee60b6d4e68",
  114.               "display": "OB History Component"
  115.             },
  116.             "alias": "gynhist"
  117.         },
  118.         {
  119.             "ref": {
  120.               "uuid": "7372d1e2-eb4b-4b67-801b-a8b88832529b",
  121.               "display": "Lab Orders Component"
  122.             },
  123.             "alias": "to"
  124.         },
  125.         {
  126.             "ref": {
  127.               "uuid": "0319de01-75ea-4b23-b8f6-eb6265a110c1",
  128.               "display": "Referral Component"
  129.             },
  130.             "alias": "ref"
  131.         },
  132.         {
  133.             "ref": {
  134.               "uuid": "c3f4236c-dbb5-4f8e-87eb-5c7b73f5cf94",
  135.               "display": "VL Justification Component"
  136.             },
  137.             "alias": "vljust"
  138.         }
  139.     ],
  140.     "pages": [
  141.         {
  142.             "label": "Encounter Details",
  143.             "sections": [
  144.                 {
  145.                     "label": "Encounter Details",
  146.                     "isExpanded": "True",
  147.                     "questions": [
  148.                         {
  149.                             "label": "Visit date",
  150.                             "type": "encounterDatetime",
  151.                             "required": "true",
  152.                             "default": "",
  153.                             "id": "encDate",
  154.                             "questionOptions": {
  155.                                 "rendering": "date"
  156.                             },
  157.                             "validators": [
  158.                                 {
  159.                                     "type": "date"
  160.                                 }
  161.                             ]
  162.                         },
  163.                         {
  164.                             "type": "encounterProvider",
  165.                             "label": "Provider",
  166.                             "id": "provider",
  167.                             "required": "true",
  168.                             "default": "",
  169.                             "questionOptions": {
  170.                                 "rendering": "ui-select-extended"
  171.                             }
  172.                         },
  173.                         {
  174.                             "type": "encounterLocation",
  175.                             "label": "Facility name (site/satellite clinic required):",
  176.                             "id": "location",
  177.                             "required": "true",
  178.                             "questionOptions": {
  179.                                 "rendering": "ui-select-extended"
  180.                             }
  181.                         }
  182.                     ]
  183.                 }
  184.             ]
  185.         },
  186.         {
  187.             "label": "Pre-Clinic Review",
  188.             "sections": [
  189.                 {
  190.                     "reference": {
  191.                         "form": "pcr",
  192.                         "page": "Pre-clinic Review",
  193.                         "section": "Pre-clinic Review"
  194.                     }
  195.                 }
  196.             ]
  197.         },
  198.         {
  199.             "label": "Medical History",
  200.             "sections": [
  201.                 {
  202.                     "reference": {
  203.                         "form": "pcr",
  204.                         "page": "Pre-clinic Review",
  205.                         "section": "Social History"
  206.                     }
  207.                 },
  208.                 {
  209.                     "reference": {
  210.                         "form": "pcr",
  211.                         "page": "Pre-clinic Review",
  212.                         "section": "Prevention With Positives"
  213.                     }
  214.                 },
  215.                 {
  216.                     "reference": {
  217.                         "form": "hosp",
  218.                         "page": "Hospitalization",
  219.                         "section": "Hospitalization History"
  220.                     }
  221.                 },
  222.                 {
  223.                     "reference": {
  224.                         "form": "gynhist",
  225.                         "page": "OB/Gyn History",
  226.                         "section": "OB/Gyn History",
  227.                         "excludeQuestions": [
  228.                             "deliveryDate"
  229.                         ]
  230.                     }
  231.                 }
  232.             ]
  233.         },
  234.         {
  235.             "label": "ART History",
  236.             "sections": [
  237.                 {
  238.                     "reference": {
  239.                         "form": "art",
  240.                         "page": "ART ",
  241.                         "section": "ART History",
  242.                         "excludeQuestions": [
  243.                             "current_art_regimen_ped"
  244.                         ]
  245.                     }
  246.                 }
  247.             ]
  248.         },
  249.         {
  250.             "label": "PCP & TB Prophylaxis History",
  251.             "sections": [
  252.                 {
  253.                     "reference": {
  254.                         "form": "pcp",
  255.                         "page": "PCP Prophylaxis",
  256.                         "section": "PCP Prophylaxis Current"
  257.                     }
  258.                 },
  259.                 {
  260.                     "reference": {
  261.                         "form": "tbp",
  262.                         "page": "TB Prophylaxis",
  263.                         "section": "TB Prophylaxis Current"
  264.                     }
  265.                 }
  266.             ]
  267.         },
  268.         {
  269.             "label": "TB History",
  270.             "sections": [
  271.                 {
  272.                     "reference": {
  273.                         "form": "tbt",
  274.                         "page": "TB Treatment",
  275.                         "section": "Tuberculosis History"
  276.                     }
  277.                 }
  278.             ]
  279.         },
  280.         {
  281.             "label": "Other Medications History",
  282.             "sections": [
  283.                 {
  284.                     "reference": {
  285.                         "form": "cryp",
  286.                         "page": "Cryptococcal prevention",
  287.                         "section": "Cryptococcal Secondary Prevention"
  288.                     }
  289.                 },
  290.                 {
  291.                     "reference": {
  292.                         "form": "omed",
  293.                         "page": "Other medication",
  294.                         "section": "Other Medications"
  295.                     }
  296.                 }
  297.             ]
  298.         },
  299.         {
  300.             "label": "Med Side Effects",
  301.             "sections": [
  302.                 {
  303.                     "reference": {
  304.                         "form": "se",
  305.                         "page": "Side Effects/Toxicity",
  306.                         "section": "Side Effects/Toxicity"
  307.                     }
  308.                 }
  309.             ]
  310.         },
  311.         {
  312.             "label": "Vitals",
  313.             "sections": [
  314.                 {
  315.                     "reference": {
  316.                         "form": "vt",
  317.                         "page": "Vitals",
  318.                         "section": "Vital Signs"
  319.                     }
  320.                 }
  321.             ]
  322.         },
  323.         {
  324.             "label": "CC/HPI",
  325.             "sections": [
  326.                 {
  327.                     "reference": {
  328.                         "form": "hpi",
  329.                         "page": "History presenting illness",
  330.                         "section": "History Presenting Illness, Notes"
  331.                     }
  332.                 }
  333.             ]
  334.         },
  335.         {
  336.             "label": "Current Symptoms",
  337.             "sections": [
  338.                 {
  339.                     "reference": {
  340.                         "form": "pl",
  341.                         "page": "Problem list",
  342.                         "section": "Problem List"
  343.                     }
  344.                 },
  345.                 {
  346.                     "reference": {
  347.                         "form": "tbt",
  348.                         "page": "TB Treatment",
  349.                         "section": "TB Screening Questions"
  350.                     }
  351.                 },
  352.                 {
  353.                     "reference": {
  354.                         "form": "gynhist",
  355.                         "page": "OB/Gyn History",
  356.                         "section": "STI"
  357.                     }
  358.                 },
  359.                 {
  360.                     "reference": {
  361.                         "form": "who",
  362.                         "page": "WHO staging",
  363.                         "section": "Adult WHO Staging"
  364.                     }
  365.                 }
  366.             ]
  367.         },
  368.         {
  369.             "label": "Test Results",
  370.             "sections": [
  371.                 {
  372.                     "reference": {
  373.                         "form": "tr",
  374.                         "page": "Test Results",
  375.                         "section": "Chemistry Lab Tests"
  376.                     }
  377.                 },
  378.                 {
  379.                     "reference": {
  380.                         "form": "tr",
  381.                         "page": "Test Results",
  382.                         "section": "CBC"
  383.                     }
  384.                 },
  385.                 {
  386.                     "reference": {
  387.                         "form": "tr",
  388.                         "page": "Test Results",
  389.                         "section": "CD4"
  390.                     }
  391.                 },
  392.                 {
  393.                     "reference": {
  394.                         "form": "tr",
  395.                         "page": "Test Results",
  396.                         "section": "Viral Load"
  397.                     }
  398.                 },
  399.                 {
  400.                     "reference": {
  401.                         "form": "tr",
  402.                         "page": "Test Results",
  403.                         "section": "TB Test"
  404.                     }
  405.                 },
  406.                 {
  407.                     "reference": {
  408.                         "form": "tr",
  409.                         "page": "Test Results",
  410.                         "section": "Chest Xray"
  411.                     }
  412.                 }
  413.             ]
  414.         },
  415.         {
  416.             "label": "Assessment",
  417.             "sections": [
  418.                 {
  419.                     "reference": {
  420.                         "form": "ass",
  421.                         "page": "Assessment",
  422.                         "section": "Assessment Notes"
  423.                     }
  424.                 }
  425.             ]
  426.         },
  427.         {
  428.             "label": "Medication Plan",
  429.             "sections": [
  430.                 {
  431.                     "reference": {
  432.                         "form": "art",
  433.                         "page": "ART ",
  434.                         "section": "ART Plan",
  435.                         "excludeQuestions": [
  436.                             "artStartedPed"
  437.                         ]
  438.                     }
  439.                 },
  440.                 {
  441.                     "reference": {
  442.                         "form": "pcp",
  443.                         "page": "PCP Prophylaxis",
  444.                         "section": "PCP Prophylaxis Plan"
  445.                     }
  446.                 },
  447.                 {
  448.                     "reference": {
  449.                         "form": "tbp",
  450.                         "page": "TB Prophylaxis",
  451.                         "section": "TB Prophylaxis Plan"
  452.                     }
  453.                 },
  454.                 {
  455.                     "reference": {
  456.                         "form": "tbt",
  457.                         "page": "TB Treatment",
  458.                         "section": "TB Treatment Plan"
  459.                     }
  460.                 },
  461.                 {
  462.                     "reference": {
  463.                         "form": "cryp",
  464.                         "page": "Cryptococcal prevention",
  465.                         "section": "Cryptococcal Treatment Plan"
  466.                     }
  467.                 },
  468.                 {
  469.                     "reference": {
  470.                         "form": "omed",
  471.                         "page": "Other medication",
  472.                         "section": "Additional Medication Orders"
  473.                     }
  474.                 }
  475.             ]
  476.         },
  477.         {
  478.             "label": "Plan",
  479.             "sections": [
  480.                 {
  481.                     "reference": {
  482.                         "form": "to",
  483.                         "page": "Test orders",
  484.                         "section": "Test Orders"
  485.                     }
  486.                 },
  487.                 {
  488.                     "reference": {
  489.                         "form": "ref",
  490.                         "page": "Referrals",
  491.                         "section": "Referrals"
  492.                     }
  493.                 },
  494.                 {
  495.                     "label": "Next appointment",
  496.                     "isExpanded": "true",
  497.                     "questions": [
  498.                         {
  499.                             "label": "Return to clinic Date:",
  500.                             "type": "obs",
  501.                             "required": "true",
  502.                             "questionOptions": {
  503.                                 "concept": "a8a666ba-1350-11df-a1f1-0026b9348838",
  504.                                 "rendering": "date",
  505.                                 "weeksList": [
  506.                                     2,
  507.                                     4,
  508.                                     8,
  509.                                     12,
  510.                                     16
  511.                                 ]
  512.                             },
  513.                             "validators": [
  514.                                 {
  515.                                     "type": "date",
  516.                                     "allowFutureDates": "true"
  517.                                 }
  518.                             ]
  519.                         }
  520.                     ]
  521.                 }
  522.             ]
  523.         }
  524.     ]
  525. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement