Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "test poc form",
- "uuid": "xxxx",
- "processor": "postEncounterForm",
- "pages": [
- {
- "label": "page 1",
- "sections": [
- {
- "label": "Encounter Details",
- "questions": [
- {
- "label": "Visit Date",
- "type": "encounterDate",
- "required": "true"
- },
- {
- "type": "encounterProvider",
- "label": "Provider",
- "required": "true"
- },
- {
- "type": "encounterLocation",
- "label": "Facility Name",
- "required": "true"
- }
- ]
- },
- {
- "label": "Visit Type",
- "questions": [
- {
- "concept": "AMRS:1839",
- "label": "7a. Visit Type",
- "type": "select",
- "validators": [],
- "answers":[
- {"concept": "AMRS:1246", "label": "Scheduled visit"},
- {"concept": "AMRS:1837", "label": "Unscheduled Visit Early"},
- {"concept": "AMRS:1838", "label": "Unscheduled Visit Late"}
- ]
- },
- {
- "concept_uuid": "AMRS:7029",
- "type": "date",
- "validators": [ {"type": "date", "allowFutureDates": "true"} ],
- "label": "7b. If Unscheduled, actual scheduled date",
- }
- ]
- },
- {
- "label": "Current Tuberculosis",
- "questions": [
- {
- "concept": "AMRS:8069",
- "type": "group",
- "questions": [
- {
- "concept": "AMRS:8068",
- "label": "c. Site of TB meds pick-up",
- "type": "select",
- "answers":[
- {"concept": "AMRS:1286", "label": "This Ampath site"},
- {"concept": "AMRS:5622", "label": "Other" }
- ]
- },
- {
- "concept": "AMRS:1915",
- "label": "Other Site (Specify)"
- "type": "text"
- }
- ]
- },
- {
- "concept": "AMRS:6196",
- "type": "group_repeating",
- "questions": [
- {
- "concept": "AMRS:1111",
- "label": "d. Current TB Regimen",
- "type": "select",
- "validators": []
- "answers":[
- {"concept": "AMRS:1131", "label": "RHZE"},
- {"concept": "AMRS:768", "label": "RHZ"}
- {"concept": "AMRS:2231", "label": "RHE"},
- {"concept": "AMRS:1108", "label": "EH"},
- {"concept": "AMRS:745", "label": "Ethambutol"},
- {"concept": "AMRS:2161", "label": "MDR drugs"},
- {"concept": "AMRS:656", "label": "INH"},
- {"concept": "AMRS:5829", "label": "Pyrazinamide"},
- {"concept": "AMRS:438", "label": "Streptomycin"},
- {"concept": "AMRS:5622", "label": "Other"},
- {"concept": "AMRS:6983", "label": "Rifabutin"}
- ]
- },
- {
- "concept": "AMRS:1920", "label": "tabs/day", "type": "number"
- },
- {
- "concept": "AMRS:1899", "label": "mg", "type": "number"
- },
- {
- "concept": "AMRS:1921", "label": "mg/day", "type": "number"
- },
- {
- "concept": "AMRS:1898", "label": "tabs", "type": "number"
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement