{
    "section": "subjective",
    "templateSet": "Ingrown toenail",
    "templates": [
        {
            "text": "Reason for visit",
            "template": "Patient presents for {children}.",
            "children": [
                {
                    "text": "new onset symptom evaluation",
                    "template": "evaluation of new onset symptoms"
                },
                {
                    "text": "initial evaluation of ingrown nail",
                    "template": "initial evaluation of ingrown nail"
                },
                {
                    "text": "follow-up evaluation of ingrown nail",
                    "template": "follow-up evaluation of ingrown nail"
                },
                {
                    "text": "ongoing management of ingrown nail",
                    "template": "ongoing management of ingrown nail"
                },
                {
                    "text": "Visit reason (describe)",
                    "template": "{text}",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Duration",
            "template": "Symptoms have been present for {children}.",
            "children": [
                {
                    "text": "Duration (weeks)",
                    "template": "{text} weeks",
                    "type": "number"
                },
                {
                    "text": "Duration (months)",
                    "template": "{text} months",
                    "type": "number"
                },
                {
                    "text": "Duration (years)",
                    "template": "{text} years",
                    "type": "number"
                },
                {
                    "text": "Duration (describe)",
                    "template": "Duration (describe)",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Current status",
            "template": "The patient notes that symptoms {children}.",
            "children": [
                {
                    "text": "worsening",
                    "template": "have been worsening"
                },
                {
                    "text": "status unchanged",
                    "template": "have not worsened or improved recently"
                },
                {
                    "text": "other status changes (describe)",
                    "template": "{text}",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Lesion description",
            "template": "Pt notes {children}",
            "children": [
                {
                    "text": "small",
                    "template": "small"
                },
                {
                    "text": "large",
                    "template": "large"
                },
                {
                    "text": "round",
                    "template": "round"
                },
                {
                    "text": "irregular",
                    "template": "irregular"
                },
                {
                    "text": "erythema",
                    "template": "erythematous"
                },
                {
                    "text": "white",
                    "template": "white"
                },
                {
                    "text": "flat",
                    "template": "flat"
                },
                {
                    "text": "raised",
                    "template": "raised"
                },
                {
                    "text": "swelling",
                    "template": "swollen"
                },
                {
                    "text": "pain",
                    "template": "painful"
                },
                {
                    "text": "no pain",
                    "template": "non-painful"
                },
                {
                    "text": "tenderness",
                    "template": "tender"
                },
                {
                    "text": "tenderness not present",
                    "template": "nontender"
                },
                {
                    "text": "firm",
                    "template": "firm"
                },
                {
                    "text": "fluctuant",
                    "template": "fluctuant"
                },
                {
                    "text": "non-fluctuant",
                    "template": "non-fluctuant"
                },
                {
                    "text": "itchy",
                    "template": "pruritic"
                },
                {
                    "text": "non-itchy",
                    "template": "nonpruritic"
                },
                {
                    "text": "warm",
                    "template": "warm"
                },
                {
                    "text": "hot",
                    "template": "hot"
                },
                {
                    "text": "other findings (describe)",
                    "template": "other findings (describe)",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Lesion type",
            "template": "{children}",
            "children": [
                {
                    "text": "irritation",
                    "template": "irritation"
                },
                {
                    "text": "lesion",
                    "template": "lesion"
                },
                {
                    "text": "rash",
                    "template": "rash"
                },
                {
                    "text": "ulcer",
                    "template": "ulcer"
                },
                {
                    "text": "wound",
                    "template": "wound"
                },
                {
                    "text": "other lesion type (describe)",
                    "template": "other lesion type (describe)",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Location",
            "template": "along the {children}.",
            "children": [
                {
                    "text": "Toenails, R foot",
                    "template": "toenails, right foot",
                    "children": [
                        {
                            "text": "R great toe",
                            "template": "side of the right great toenail"
                        },
                        {
                            "text": "R 2nd toe",
                            "template": "side of the right 2nd toenail"
                        },
                        {
                            "text": "R 3rd toe",
                            "template": "side of the right 3rd toenail"
                        },
                        {
                            "text": "R 4th toe",
                            "template": "side of the right 4th toenail"
                        },
                        {
                            "text": "R 5th toe",
                            "template": "side of the right 5th toenail"
                        }
                    ]
                },
                {
                    "text": "Toenails, L foot",
                    "template": "toenails, left foot",
                    "children": [
                        {
                            "text": "L great toe",
                            "template": "side of the left great toenail"
                        },
                        {
                            "text": "L 2nd toe",
                            "template": "side of the left 2nd toenail"
                        },
                        {
                            "text": "L 3rd toe",
                            "template": "side of the left 3rd toenail"
                        },
                        {
                            "text": "L 4th toe",
                            "template": "side of the left 4th toenail"
                        },
                        {
                            "text": "L 5th toe",
                            "template": "side of the left 5th toenail"
                        }
                    ]
                },
                {
                    "text": "other locations (describe)",
                    "template": "other locations (describe)",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Drainage present",
            "template": "Patient {children}.",
            "children": [
                {
                    "text": "no",
                    "template": "denies any drainage from the lesion"
                },
                {
                    "text": "yes",
                    "template": "has noticed {children} drainage",
                    "children": [
                        {
                            "text": "thin",
                            "template": "thin"
                        },
                        {
                            "text": "thick",
                            "template": "thick"
                        },
                        {
                            "text": "watery",
                            "template": "watery"
                        },
                        {
                            "text": "clear",
                            "template": "clear"
                        },
                        {
                            "text": "purulent",
                            "template": "purulent"
                        },
                        {
                            "text": "bloody",
                            "template": "bloody"
                        },
                        {
                            "text": "green",
                            "template": "green"
                        },
                        {
                            "text": "yellow",
                            "template": "yellow"
                        }
                    ]
                },
                {
                    "text": "drainage quality (describe)",
                    "template": "drainage quality (describe)",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Symptoms",
            "template": "Patient reports the presence\/absence of the following Hx\/sx related to the current\n                        visit: {children}.\n                    ",
            "children": [
                {
                    "text": "T max (Fahrenheit)",
                    "template": "T max {text} F",
                    "type": "number"
                },
                {
                    "text": "fever",
                    "template": "fever",
                    "type": "plus-minus"
                },
                {
                    "text": "pain",
                    "template": "pain",
                    "type": "plus-minus"
                },
                {
                    "text": "difficulty walking",
                    "template": "difficulty walking",
                    "type": "plus-minus"
                },
                {
                    "text": "chills",
                    "template": "chills",
                    "type": "plus-minus"
                },
                {
                    "text": "nausea",
                    "template": "nausea",
                    "type": "plus-minus"
                },
                {
                    "text": "vomiting",
                    "template": "vomiting",
                    "type": "plus-minus"
                },
                {
                    "text": "anorexia",
                    "template": "anorexia",
                    "type": "plus-minus"
                },
                {
                    "text": "fatigue",
                    "template": "fatigue",
                    "type": "plus-minus"
                },
                {
                    "text": "malaise",
                    "template": "malaise",
                    "type": "plus-minus"
                },
                {
                    "text": "joint pain",
                    "template": "joint pain",
                    "type": "plus-minus"
                },
                {
                    "text": "joint swelling",
                    "template": "joint swelling",
                    "type": "plus-minus"
                },
                {
                    "text": "lymph node swelling",
                    "template": "swollen lymph nodes",
                    "type": "plus-minus"
                },
                {
                    "text": "other sx (describe)",
                    "template": "{text}",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Trauma\/bite history",
            "template": "Patient reports having a {children}",
            "children": [
                {
                    "text": "trauma history",
                    "template": "trauma history",
                    "type": "plus-minus"
                },
                {
                    "text": "trauma history (describe)",
                    "template": "{text}",
                    "type": "alpha"
                },
                {
                    "text": "bite history",
                    "template": "bite history",
                    "type": "plus-minus"
                },
                {
                    "text": "bite history (describe)",
                    "template": "{text}.",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Tx response\/Side effects",
            "template": "Treatment effects: {children}.",
            "children": [
                {
                    "text": "adherent to current tx",
                    "template": "adherent to current tx"
                },
                {
                    "text": "nonadherent to current tx",
                    "template": "nonadherent to current tx"
                },
                {
                    "text": "Reasons for nonadherence",
                    "template": "reasons for nonadherence include {children}",
                    "children": [
                        {
                            "text": "side effects",
                            "template": "side effects"
                        },
                        {
                            "text": "nausea",
                            "template": "nausea"
                        },
                        {
                            "text": "stomach upset",
                            "template": "stomach upset"
                        },
                        {
                            "text": "diarrhea",
                            "template": "diarrhea"
                        },
                        {
                            "text": "swallowing difficulty",
                            "template": "difficulty swallowing"
                        },
                        {
                            "text": "cost",
                            "template": "cost"
                        },
                        {
                            "text": "difficulty scheduling",
                            "template": "difficulty scheduling"
                        },
                        {
                            "text": "forgetfulness",
                            "template": "forgetfulness"
                        },
                        {
                            "text": "no perceived need for tx",
                            "template": "no perceived need for treatment"
                        }
                    ]
                },
                {
                    "text": "Nonadherence (describe)",
                    "template": "nonadherent to tx ({text})",
                    "type": "alpha"
                },
                {
                    "text": "Treatment response",
                    "template": "{children}",
                    "children": [
                        {
                            "text": "resolved with treatment",
                            "template": "resolved with treatment"
                        },
                        {
                            "text": "well-controlled on treatment",
                            "template": "well-controlled on treatment"
                        },
                        {
                            "text": "improving on treatment",
                            "template": "improving on treatment"
                        },
                        {
                            "text": "stable on treatment",
                            "template": "stable on treatment"
                        },
                        {
                            "text": "unchanged on treatment",
                            "template": "unchanged on treatment"
                        },
                        {
                            "text": "variable response to treatment",
                            "template": "variable response to treatment"
                        },
                        {
                            "text": "suboptimally-controlled on treatment",
                            "template": "suboptimally-controlled on treatment"
                        },
                        {
                            "text": "poorly-controlled on treatment",
                            "template": "poorly-controlled on treatment"
                        },
                        {
                            "text": "worsening on treatment",
                            "template": "worsening on treatment"
                        },
                        {
                            "text": "exacerbated despite treatment",
                            "template": "exacerbated despite treatment"
                        }
                    ]
                },
                {
                    "text": "Treatment response (describe)",
                    "template": "{text}",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Previous treatments",
            "template": "Previous treatments include {children}.",
            "children": [
                {
                    "text": "Foot soaks",
                    "template": "foot soaks",
                    "children": [
                        {
                            "text": "not tried",
                            "template": "(not tried)"
                        },
                        {
                            "text": "positive response",
                            "template": "(positive response)"
                        },
                        {
                            "text": "partial response",
                            "template": "(partial response)"
                        },
                        {
                            "text": "no effect",
                            "template": "(no effect)"
                        },
                        {
                            "text": "negative response",
                            "template": "(negative response)"
                        }
                    ]
                },
                {
                    "text": "Nail clipping",
                    "template": "the clipping of nails",
                    "children": [
                        {
                            "text": "not tried",
                            "template": "(not tried)"
                        },
                        {
                            "text": "positive response",
                            "template": "(positive response)"
                        },
                        {
                            "text": "partial response",
                            "template": "(partial response)"
                        },
                        {
                            "text": "no effect",
                            "template": "(no effect)"
                        },
                        {
                            "text": "negative response",
                            "template": "(negative response)"
                        }
                    ]
                },
                {
                    "text": "Antibiotics, topical, OTC",
                    "template": "OTC topical antibiotics",
                    "children": [
                        {
                            "text": "not tried",
                            "template": "(not tried)"
                        },
                        {
                            "text": "positive response",
                            "template": "(positive response)"
                        },
                        {
                            "text": "partial response",
                            "template": "(partial response)"
                        },
                        {
                            "text": "no effect",
                            "template": "(no effect)"
                        },
                        {
                            "text": "negative response",
                            "template": "(negative response)"
                        },
                        {
                            "text": "discontinued due to side effects",
                            "template": "(discontinued due to side effects)"
                        }
                    ]
                },
                {
                    "text": "OTC products, name unknown",
                    "template": "OTC products, name unknown to patient",
                    "children": [
                        {
                            "text": "not tried",
                            "template": "(not tried)"
                        },
                        {
                            "text": "positive response",
                            "template": "(positive response)"
                        },
                        {
                            "text": "partial response",
                            "template": "(partial response)"
                        },
                        {
                            "text": "no effect",
                            "template": "(no effect)"
                        },
                        {
                            "text": "negative response",
                            "template": "(negative response)"
                        },
                        {
                            "text": "discontinued due to side effects",
                            "template": "(discontinued due to side effects)"
                        }
                    ]
                },
                {
                    "text": "Other previous tx (describe)",
                    "template": "{text}",
                    "type": "alpha"
                }
            ]
        },
        {
            "text": "Smoking status",
            "template": "Smoking status: {children}.",
            "children": [
                {
                    "text": "nonsmoker",
                    "template": "nonsmoker"
                },
                {
                    "text": "tobacco abuse",
                    "template": "tobacco abuse",
                    "type": "plus-minus"
                },
                {
                    "text": "tobacco dependence",
                    "template": "tobacco dependence",
                    "type": "plus-minus"
                },
                {
                    "text": "tobacco products used",
                    "template": "tobacco products used include {children}",
                    "children": [
                        {
                            "text": "cigarettes",
                            "template": "cigarettes"
                        },
                        {
                            "text": "cigars",
                            "template": "cigars"
                        },
                        {
                            "text": "pipes",
                            "template": "pipes"
                        },
                        {
                            "text": "water pipes",
                            "template": "water pipes"
                        },
                        {
                            "text": "chew",
                            "template": "chew"
                        },
                        {
                            "text": "snuff",
                            "template": "snuff"
                        }
                    ]
                },
                {
                    "text": "packs per day (specify)",
                    "template": "{text} packs per day",
                    "type": "number"
                },
                {
                    "text": "age at smoking onset (specify)",
                    "template": "started smoking at age {text}",
                    "type": "number"
                },
                {
                    "text": "smoking duration (months)",
                    "template": "smoking duration is {text} months",
                    "type": "number"
                },
                {
                    "text": "smoking duration (years)",
                    "template": "smoking duration is {text} years",
                    "type": "number"
                },
                {
                    "text": "tobacco withdrawal",
                    "template": "tobacco withdrawal",
                    "type": "plus-minus"
                },
                {
                    "text": "tobacco remission",
                    "template": "tobacco remission",
                    "type": "plus-minus"
                },
                {
                    "text": "hx of nicotine dependence (describe)",
                    "template": "{text}",
                    "type": "alpha"
                },
                {
                    "text": "second hand smoke type\/exposure (describe)",
                    "template": "{text}",
                    "type": "alpha"
                },
                {
                    "text": "other (describe)",
                    "template": "{text}",
                    "type": "alpha"
                }
            ]
        }
    ]
}