{"_id":"66918e345a565cb5847f1852","type":"form","tags":[],"owner":"5f9acba5f1b659b9e06350e4","components":[{"label":"Top of Form","columns":[{"components":[{"label":"authorizationToken","key":"authorizationToken","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"agencyFormId","key":"agencyFormId","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"min/max","persistent":"client-only","calculateServer":true,"trigger":{"init":true,"server":true},"dataSrc":"url","fetch":{"url":"{{ config.PAYGOV_ENV }}/public/api/v1/minmaxamount/{{ data.agencyFormId }}","method":"get","headers":[{"key":"X-Paygov-Authorization-Token","value":"{{ data.authorizationToken }}"}],"forwardHeaders":true,"authenticate":false},"key":"minMax","type":"datasource","input":true,"tableView":false,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"tableView":false,"key":"topOfForm","type":"columns","input":false,"lockKey":true,"source":"5e3b1d285e65135702af3f4e","isNew":true,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"HTML","tag":"img","attrs":[{"attr":"src","value":"{{ config.STATIC_ASSETS_ENV }}/VAHRC/images/vahrc_logo.jpg"},{"attr":"alt","value":"U.S. Department of Veterans Affairs"},{"attr":"title","value":"U.S. Department of Veterans Affairs"}],"refreshOnChange":false,"tableView":false,"key":"html","type":"htmlelement","input":false,"hideOnChildrenHidden":false}],"width":3,"offset":0,"push":0,"pull":0,"size":"xs","currentWidth":3},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"tableView":false,"key":"columns2","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"HTML","tag":"h3","attrs":[{"attr":"","value":""}],"content":"VA Medical Care Copayment","refreshOnChange":false,"tableView":false,"key":"html1","type":"htmlelement","input":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"
Please have a copy of the Veteran Patient Statement sent from Department of Veterans Affairs in front of you to enter the correct information.\n
For assistance with this form please call 888-827-4817\n
* Required Field
","refreshOnChange":false,"tableView":false,"key":"html2","type":"htmlelement","input":false},{"title":"Veteran Information","collapsible":true,"tableView":false,"key":"veteranInformation","type":"panel","label":"Veteran Information","input":false,"components":[{"label":"Columns","columns":[{"components":[{"label":"Veteran's First Name","tableView":true,"calculateServer":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"veteransFirstName","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":5,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":5},{"components":[{"label":"Middle Initial","tableView":true,"calculateServer":true,"validate":{"custom":"valid=pgFormioGlobal().validateText(input);","maxLength":1},"key":"middleInitial","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Veteran's Last Name","tableView":true,"calculateServer":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"veteransLastName","type":"textfield","input":true,"hideOnChildrenHidden":false}],"size":"md","width":5,"offset":0,"push":0,"pull":0,"currentWidth":5}],"tableView":false,"key":"columns3","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"
Account Number
\nWhere do I find my VA Account Number?","refreshOnChange":false,"tableView":false,"key":"html3","type":"htmlelement","input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Part 1","tableView":true,"calculateServer":true,"validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^\\d{3}$/;\nvalid = (input === \"\" || input === null || input === undefined || regEx.test(input)) ? true : \"Invalid Part 1 of Statement Account Number. Please verify.\";","maxLength":3},"key":"part1","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Part 2","tableView":true,"calculateServer":true,"validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^\\d{4}$/;\nvalid = (input === \"\" || input === null || input === undefined || regEx.test(input)) ? true : \"Invalid Part 2 of Statement Account Number. Please verify.\";","maxLength":4},"key":"part2","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Part 3","tableView":true,"calculateServer":true,"validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^\\d{4}$/;\nvalid = (input === \"\" || input === null || input === undefined || regEx.test(input)) ? true : \"Invalid Part 3 of Statement Account Number. Please verify.\";","maxLength":4},"key":"part3","type":"textfield","input":true,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[{"label":"Part 4","tableView":true,"calculateServer":true,"validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^\\d{5}$/;\nvalid = (input === \"\" || input === null || input === undefined || regEx.test(input)) ? true : \"Invalid Part 4 of Statement Account Number. Please verify.\";","maxLength":5},"key":"part4","type":"textfield","input":true,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[{"label":"Part 5","tableView":true,"calculateServer":true,"validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^[a-z]{1,5}$/i;\nvalid = (input === \"\" || input === null || input === undefined || regEx.test(input)) ? true : \"Invalid Part 5 of Statement Account Number. Please verify.\";","maxLength":5},"key":"part5","type":"textfield","input":true,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"tableView":false,"key":"columns4","type":"columns","input":false,"hideOnChildrenHidden":false}],"collapsed":false},{"title":"Payer Information","collapsible":true,"tableView":false,"key":"payerInformation","type":"panel","label":"Payer Information","input":false,"components":[{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"The following questions must reflect the identity of the person making the payment
","refreshOnChange":false,"tableView":false,"key":"html4","type":"htmlelement","input":false},{"label":"Payer's Full Name","tableView":true,"calculateServer":true,"validate":{"required":true,"custom":"var regEx = /^[A-Za-z\\s]+$/i;\nvalid = (input === \"\" || input === null || regEx.test(input)) ? true : \"Field contains invalid characters.\";","maxLength":100},"key":"partyGivenName","type":"textfield","input":true},{"label":"Columns","columns":[{"components":[{"label":"Payer's Phone Number","tableView":true,"calculateServer":true,"validateOn":"blur","validate":{"required":true,"custom":"if (input === \"\" || input === null || input === undefined) {\r\n valid = true;\r\n} else {\r\n var regEx = /^\\(?\\d{3}\\)?\\s?-?\\d{3}-?\\d{4}$/;\r\n if (!regEx.test(input)) {\r\n valid = \"Invalid Telephone Number\";\r\n } else {\r\n var str = input.replace(/[^\\d]/g, \"\");\r\n var newValue = \"(\"+ str.substr(0,3) + \") \" + str.substr(3,3) + \"-\" + str.substr(6);\r\n if (typeof instance != \"undefined\") {\r\n instance.setValue(newValue);\r\n }\r\n else {\r\n data[component.key] = newValue;\r\n }\r\n valid = true;\r\n }\r\n}"},"key":"payersTelephoneNumber","type":"textfield","input":true,"lockKey":true,"source":"5e3b1d285e65135702af3f4e","isNew":true,"hideOnChildrenHidden":false},{"label":"Payer's Email Address:","tableView":true,"calculateServer":true,"validateOn":"blur","validate":{"custom":"valid = pgFormioGlobal().validateEmail(input);"},"key":"partyEmail","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false}],"collapsed":false},{"title":"Payment Information","collapsible":true,"tableView":false,"key":"paymentInformation","type":"panel","label":"Payment Information","input":false,"components":[{"label":"Columns","columns":[{"components":[{"label":"Payment Amount","mask":false,"spellcheck":true,"tableView":false,"currency":"USD","inputFormat":"plain","calculateServer":true,"validate":{"required":true,"custom":"if (input < parseFloat(data.minMax.minAmount)) {\r\n valid = \"Your payment is below the allowed amount. Please enter a higher dollar amount.\";\r\n} else if (input > parseFloat(data.minMax.maxAmount)) {\r\n valid = \"Your payment is above the maximum allowed amount. Please enter a lower dollar amount.\";\r\n} else {\r\n valid = true;\r\n}\r\n\r\n/*\r\nif (valid && input > 1000) {\r\n if (!data.checkBox) {\r\n alert(\"You have entered an amount greater than $1000.00. Please confirm this is the amount you intend to pay.\");\r\n data.hiddenField = true;\r\n }\r\n} else {\r\n data.hiddenField = false;\r\n}\r\n*/"},"key":"RemittanceNetAmount","type":"currency","input":true,"delimiter":true,"hideOnChildrenHidden":false},{"label":"Hidden Field","persistent":false,"calculateServer":true,"key":"hiddenField","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns5","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false}],"collapsed":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"
This form should only be used to pay VA health care copayments and/or VA prescription copayments. Please verify Veteran name and account number match information on the Veteran Patient Statement before submitting your payment. Incorrect information or wrong form used will delay payment posting.\n
If you do not have a statement or need assistance with this form, please call 888-827-4817 Monday-Friday, between 8am-8pm(EST).","refreshOnChange":false,"tableView":false,"key":"html5","type":"htmlelement","input":false},{"label":"SBU Footer","tableView":true,"form":"5fc7c311de457463ee152fb3","reference":false,"key":"sbuFooter","customConditional":"show = instance.options.pdf;","type":"form","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true,"revision":0,"components":[{"label":"HTML","tag":"p style=\"font-size: 11px\"","className":"","attrs":[{"attr":"","value":""}],"content":"
\r\n\r\nThe content of this document may contain Sensitive But Unclassified (SBU) data and/or Controlled Unclassified Information (CUI).\r\n","refreshOnChange":false,"customClass":"","hidden":false,"modalEdit":false,"key":"sbu_label","tags":[],"properties":{},"conditional":{"eq":"","json":""},"customConditional":"","logic":[],"attributes":{},"overlay":{"style":"","page":"","left":"","top":"","width":"","height":""},"type":"htmlelement","input":false,"tableView":false,"placeholder":"","prefix":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":false,"clearOnHide":true,"refreshOn":"","redrawOn":"","labelPosition":"top","description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","calculateServer":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false,"strictDateValidation":false,"multiple":false,"unique":false},"allowCalculateOverride":false,"encrypted":false,"showCharCount":false,"showWordCount":false,"allowMultipleMasks":false,"id":"e56fbt3"},{"label":"HiddenTestField","calculateValue":"value = \"\";","calculateServer":true,"key":"hiddenTestField","type":"hidden","input":true,"tableView":false,"placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":true,"hidden":false,"clearOnHide":true,"refreshOn":"","redrawOn":"","modalEdit":false,"labelPosition":"top","description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","widget":{"type":"input"},"attributes":{},"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false,"strictDateValidation":false,"multiple":false,"unique":false},"conditional":{"eq":""},"overlay":{"style":"","left":"","top":"","width":"","height":""},"allowCalculateOverride":false,"encrypted":false,"showCharCount":false,"showWordCount":false,"properties":{},"allowMultipleMasks":false,"inputType":"hidden","id":"em1zpzb"}]},{"label":"Standard Buttons","columns":[{"components":[{"label":"Continue","action":"custom","showValidations":false,"block":true,"customClass":"usa-button","tableView":false,"key":"submit","customConditional":"show = !data.showReassignButton ? true : data.showSubmitButton;","type":"button","custom":"if (instance.root.checkValidity(null, true)) {\r\n if(data.RemittanceNetAmount > 1000) {\r\n if (confirm(\"You have entered an amount greater than $1000.00. Please confirm this is the amount you intend to pay. \\n\\n Click 'OK' to continue or 'Cancel' to enter a different amount.\")) {\r\n instance.emit('submitButton');\r\n }\r\n } else {\r\n instance.emit('submitButton');\r\n }\r\n} else {\r\n instance.emit('submitButton');\r\n}","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"View PDF","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"viewPdf","attributes":{"class":"usa-button--outline"},"type":"button","event":"viewPdf","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Save","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"save","customConditional":"show = data.showSaveButton;","type":"button","event":"save","input":true,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[{"label":"Reassign","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"reassign","customConditional":"show = data.showReassignButton;","type":"button","event":"reassign","input":true,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"tableView":false,"key":"standardButtons","type":"columns","input":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"accountNumberField","calculateValue":"value = data.part1+data.part2+data.part3+data.part4+data.part5;","calculateServer":true,"key":"accountNumberField","type":"hidden","spellcheck":true,"tableView":true,"input":true,"mask":false,"inputType":"text","inputFormat":"plain","hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"CCF 1","calculateServer":true,"key":"custom_field_1","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false,"mask":false,"inputFormat":"plain"}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"CCF 2","calculateValue":"value = data.accountNumberField;","calculateServer":true,"key":"custom_field_2","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false,"mask":false,"inputFormat":"plain"}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"CCF 3","calculateValue":"value = data.payersTelephoneNumber;","calculateServer":true,"key":"custom_field_3","type":"hidden","spellcheck":true,"tableView":true,"input":true,"lockKey":true,"hideOnChildrenHidden":false,"mask":false,"inputFormat":"plain"}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"CCF 4","calculateValue":"value = data.partyEmail;","calculateServer":true,"key":"custom_field_4","type":"hidden","spellcheck":true,"tableView":true,"input":true,"lockKey":true,"hideOnChildrenHidden":false,"mask":false,"inputFormat":"plain"}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"partyCountry","defaultValue":"USA","calculateServer":true,"key":"partyCountry","type":"hidden","spellcheck":true,"tableView":true,"input":true,"mask":false,"inputType":"text","inputFormat":"plain","hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"tableView":false,"key":"columns1","type":"columns","input":false,"hideOnChildrenHidden":false}],"revisions":"original","_vid":4,"_vnote":"(Source version:27, User:smartin, Build:12285465)","_vuser":"admin","title":"VA_HRC_v4","name":"vaHrcV4","path":"vahrcv4","display":"form","controller":"","properties":{"adobeMapper":"