-- HOME HELTH CERTIFICATION AND PLAN OF CARE Form in assessment tab


INSERT INTO `forms` (`id`, `form_name`, `form_data`) VALUES
(72, 'hhc-poc-form', '{\"formSections\":[{\"id\":\"user-form-settings\",\"componentType\":\"form\",\"component\":{\"ajax\":\"false\",\"attr\":\"novalidate\",\"framework\":\"bs4\",\"iconFont\":\"fontawesome5\",\"iconFontUrl\":\"//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.3.1/css/all.min.css\",\"id\":\"hhc-poc-form\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}},{\"id\":\"ohtk6lot1d8f6rco60lvgi\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":1,\"label\":\"Patient HI Claim No\",\"name\":\"patient_hi_claim_no\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"v6qh197izp9sdm0sq3bna8\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":2,\"label\":\"Start of Care Date\",\"name\":\"start_of_care_date\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"2pptmrkn0v5tt82uz3h61\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":3,\"label\":\"Certification Period Form\",\"name\":\"input-3\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"13tkb7wt3ajiwpq2io73tjp\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":4,\"label\":\"TO\",\"name\":\"certification_period_to\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"7tny68wn01nbffk90t1v2\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":5,\"label\":\"Medical Record No\",\"name\":\"medical_record_no\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"qri7sw60iugl9ht7qahs5k\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":6,\"label\":\"Provider No\",\"name\":\"provider_no\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"7oh4iz2vqln2om5r4ts5i3\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":7,\"label\":\"ICD-10 Principal Diagnosis\",\"name\":\"icd10_principal_diagnosis\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"6ucta7pmnbc7rpixak2u6k\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":8,\"label\":\"Date\",\"name\":\"icd10_principal_diagnosis_date\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"j9u01kfawgjjahhxr3y4hg\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":9,\"label\":\"ICD-10 Surgical Procedure\",\"name\":\"icd10_surgical_procedure\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"boc6ym9s2zm79jrjlnlugq\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":10,\"label\":\"Date\",\"name\":\"icd10_surgical_procedure_date\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"lit2u0pd87lqsshcj8n0lm\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":11,\"label\":\"ICD-10 Other Pertinent Diagnoses\",\"name\":\"icd10_other_pertinent_diagnoses\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"2f5nfxio3cix3spqkpnacr\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":12,\"label\":\"Date\",\"name\":\"icd10_other_pertinent_diagnoses_date\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"bitlhkv421pyvzj5xkqzp\",\"componentType\":\"textarea\",\"component\":{\"componentType\":\"textarea\",\"helper\":\"\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":1,\"label\":\"Medications: Dose/Frequency/Route New Changed\",\"name\":\"medications_dose_frequency_route_new_changed\",\"placeholder\":\"\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"dbhkbcufeyjfdujvtbkniw\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":13,\"label\":\"DME and Supplies\",\"name\":\"dme_and_supplies\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"2l2jo4wxg3cxf739f8qgcs\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":14,\"label\":\"Safety Measures\",\"name\":\"safety_measures\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"asxrgm0o9539ad6oi2jiy\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":15,\"label\":\"Nutritional Req\",\"name\":\"nutritional_req\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"zsywupfrn9cns2msoux6b\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":16,\"label\":\"Allergies\",\"name\":\"allergies\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"rlugzj8uk99sz2cmmzb2jb\",\"componentType\":\"checkbox\",\"component\":{\"componentType\":\"checkbox\",\"helper\":\"\",\"plugins\":[],\"checkboxes\":[{\"index\":1,\"text\":\"Amputation\",\"value\":\"Amputation\"},{\"index\":2,\"text\":\"Bowel/Bladder{incontinence}\",\"value\":\"Bowel/Bladder{incontinence}\"},{\"index\":3,\"text\":\"Contracture\",\"value\":\"Contracture\"},{\"index\":4,\"text\":\"Hearing\",\"value\":\"Hearing\"},{\"index\":5,\"text\":\"Paralysis\",\"value\":\"Paralysis\"},{\"index\":6,\"text\":\"Endurance\",\"value\":\"Endurance\"},{\"index\":7,\"text\":\"Ambulation\",\"value\":\"Ambulation\"},{\"index\":8,\"text\":\"Label 8\",\"value\":\"Speech\"},{\"index\":9,\"text\":\"Legally Blind\",\"value\":\"Legally Blind\"},{\"index\":10,\"text\":\"Dyspnea\",\"value\":\"Dyspnea\"},{\"index\":11,\"text\":\"Other\",\"value\":\"Other\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":1,\"inline\":\"true\",\"label\":\"A. Functional Limitations\",\"name\":\"functional_limitations\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"fwo71tjbctohfiebahm33\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":17,\"label\":\"Specify if Functional Limitations is Other\",\"name\":\"specify_if_functional_limitations_is_other\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"1trdbtztzukjsqh44qcq9s\",\"componentType\":\"checkbox\",\"component\":{\"componentType\":\"checkbox\",\"helper\":\"\",\"plugins\":[],\"checkboxes\":[{\"index\":1,\"text\":\"Complete Bed rest\",\"value\":\"Complete Bed rest\"},{\"index\":2,\"text\":\"Bed rest BRP\",\"value\":\"Bed rest BRP\"},{\"index\":3,\"text\":\"Up As Tolerated\",\"value\":\"Up As Tolerated\"},{\"index\":4,\"text\":\"Transfer Bed/Chair\",\"value\":\"Transfer Bed/Chair\"},{\"index\":5,\"text\":\"Excursuses Prescribed\",\"value\":\"Excursuses Prescribed \"},{\"index\":6,\"text\":\"Partial Weight Bearing\",\"value\":\"Partial Weight Bearing\"},{\"index\":7,\"text\":\"Independent At Home\",\"value\":\"Independent At Home\"},{\"index\":8,\"text\":\"Crutches\",\"value\":\"Crutches\"},{\"index\":9,\"text\":\"Cane\",\"value\":\"Cane\"},{\"index\":10,\"text\":\"Wheelchair\",\"value\":\"Wheelchair\"},{\"index\":11,\"text\":\"Walker\",\"value\":\"Walker\"},{\"index\":12,\"text\":\"No restrictions\",\"value\":\"No restrictions\"},{\"index\":13,\"text\":\"Other\",\"value\":\"Other\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":2,\"inline\":\"true\",\"label\":\"B. Activities Permitted\",\"name\":\"activities_permitted\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"qhe6ljz15pcv8nphd1qi\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":18,\"label\":\"Specify if Activities Permitted is Other\",\"name\":\"specify_if_activities_permitted_is_other\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"38wxdy51dvxmwcbpkynv5\",\"componentType\":\"checkbox\",\"component\":{\"componentType\":\"checkbox\",\"helper\":\"\",\"plugins\":[],\"checkboxes\":[{\"index\":1,\"text\":\"Oriented\",\"value\":\"Oriented\"},{\"index\":2,\"text\":\"Comatose\",\"value\":\"Comatose\"},{\"index\":3,\"text\":\"Forgetful\",\"value\":\"Forgetful\"},{\"index\":4,\"text\":\"Depressed\",\"value\":\"Depressed\"},{\"index\":5,\"text\":\"Disoriented\",\"value\":\"Disoriented\"},{\"index\":6,\"text\":\"Lethargic\",\"value\":\"Lethargic\"},{\"index\":7,\"text\":\"Agitated\",\"value\":\"Agitated\"},{\"index\":8,\"text\":\"Other\",\"value\":\"Other\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":3,\"inline\":\"true\",\"label\":\"Mental Status\",\"name\":\"mental_status\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"ubk9ggrc1fopekd12hhx4\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Poor\",\"value\":\"Poor\"},{\"index\":2,\"text\":\"Guarded\",\"value\":\"Guarded\"},{\"index\":3,\"text\":\"Fair\",\"value\":\"Fair\"},{\"index\":4,\"text\":\"Good\",\"value\":\"Good\"},{\"index\":5,\"text\":\"Excellent\",\"value\":\"Excellent\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":1,\"inline\":\"true\",\"label\":\"Prognosis\",\"name\":\"prognosis\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"6374b8jr6wo67jkp8qmgiw\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":19,\"label\":\"RN every (x) 180 days for assessment\",\"name\":\"rn_every_180_days_for_assessment\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"f70c5ux90jrpusxvmbczls\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":20,\"label\":\"RN to supervise HHA every (x) and prn for incidentals\",\"name\":\"rn_to_supervise_hha_every_and_prn_for_incidentals\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"hsq55vwvcq737kdmhsd8x\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":21,\"label\":\"HHN/PCA to provide assistance with adlss and i adls (x) number of days\",\"name\":\"hhn_pca_to_provide_assistance_with_adlss_and_iadls_number_of_days\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"zw6xcx17bbpk2t074uo6z\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":22,\"label\":\"hours (x) 180 days\",\"name\":\"hours_180_days\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"eo4e3uf15z91g3l8visbn\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"Yes\"},{\"index\":2,\"text\":\"No\",\"value\":\"No\"}],\"attr\":[],\"clazz\":\"\",\"index\":2,\"inline\":\"true\",\"label\":\"Palative Care Needed\",\"name\":\"Palative Care Needed\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"qjxnr1inizysbfgf6vpkc\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":23,\"label\":\"TAL Level\",\"name\":\"tal_level\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"dgs6296mc6t6jsmah08iz\",\"componentType\":\"textarea\",\"component\":{\"componentType\":\"textarea\",\"helper\":\"\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":2,\"label\":\"Goals/Rehabilitation Potential/Discharge Plans\",\"name\":\"goals_rehabilitation_potential_discharge_plans\",\"placeholder\":\"\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"1y0ujdfju8vk3mx9gj18xk\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":24,\"label\":\"Nurse(s) Signature and Date of Verbal SOC Where Applicable\",\"name\":\"nurse_signature_and_date_of_verbal_soc_where_applicable\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"mzu5n0pvrajyhlvzgam87p\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":25,\"label\":\"Date HHA Received Signed POT\",\"name\":\"date_hha_received_signed_pot\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"opw7lz5q0lec2ljm1dkg4a\",\"componentType\":\"textarea\",\"component\":{\"componentType\":\"textarea\",\"helper\":\"\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":3,\"label\":\"Physician(s) Name and Address\",\"name\":\"physician_name_and_address\",\"placeholder\":\"\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"uogiju5gdke016bteh6cqc5e\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":26,\"label\":\"I certify this patient is confined to his/her home and needs intermittent skilled nursing care, physical therapy and/or speech therapy, or Continues to need occupational therapy. This patient is under my care, and I have authorized the services on this plan of care, and will periodically review the plan. I further certify this patient hade face-to-face encounter that was performed on xx/xx/xxxx by a physician or Medicare allowed non-physician practitioner that was related to the primary reason the patient requires home health services\",\"name\":\"i_certify_this_patient_is_confined\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"plvwx1twyqrekt1fuac9gg\",\"componentType\":\"textarea\",\"component\":{\"componentType\":\"textarea\",\"helper\":\"\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":4,\"label\":\"Attending Physician(s) Signature and Date Signed\",\"name\":\"attending_shysician_signature_and_date_signed\",\"placeholder\":\"\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"user-form-settings\",\"componentType\":\"form\",\"component\":{\"ajax\":\"false\",\"attr\":\"novalidate\",\"framework\":\"bs4\",\"iconFont\":\"fontawesome5\",\"iconFontUrl\":\"//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.3.1/css/all.min.css\",\"id\":\"fg-form\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}}],\"uiForm\":{\"attr\":\"novalidate\",\"id\":\"fg-form\",\"layout\":\"horizontal\"},\"userForm\":{\"ajax\":\"false\",\"attr\":\"novalidate\",\"framework\":\"bs4\",\"iconFont\":\"fontawesome5\",\"iconFontUrl\":\"//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.3.1/css/all.min.css\",\"id\":\"fg-form\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}}');


INSERT INTO `form_template_mapping` (`id`, `form_name`, `template_id`) VALUES (NULL, 'hhc-poc-form', '72');

ALTER TABLE `patient_report` ADD `hhc_poc_record` TEXT NOT NULL AFTER `emergency_preparedness_plan`;