src/applications/simple-forms/21-4142/definitions/constants.js
export const veteranFields = {
parentObject: 'veteran',
fullName: 'fullName',
dateOfBirth: 'dateOfBirth',
ssn: 'ssn',
vaFileNumber: 'vaFileNumber',
veteranServiceNumber: 'veteranServiceNumber',
address: 'address',
homePhone: 'homePhone',
email: 'email',
};
export const providerFacilityFields = {
parentObject: 'providerFacility',
providerFacilityName: 'providerFacilityName',
conditionsTreated: 'conditionsTreated',
treatmentDateRange: 'treatmentDateRange',
providerFacilityAddress: 'providerFacilityAddress',
};
export const patientIdentificationFields = {
parentObject: 'patientIdentification',
isRequestingOwnMedicalRecords: 'isRequestingOwnMedicalRecords',
patientFullName: 'patientFullName',
patientSsn: 'patientSsn',
patientVaFileNumber: 'patientVaFileNumber',
};
export const preparerIdentificationFields = {
parentObject: 'preparerIdentification',
relationshipToVeteran: 'relationshipToVeteran',
preparerFullName: 'preparerFullName',
preparerTitle: 'preparerTitle',
preparerOrganization: 'preparerOrganization',
courtAppointmentInfo: 'courtAppointmentInfo',
preparerHasSameAddressAsVeteran: 'view:preparerHasSameAddressAsVeteran',
preparerAddress: 'preparerAddress',
};
export const schemaFields = {
[veteranFields.parentObject]: veteranFields,
[providerFacilityFields.parentObject]: providerFacilityFields,
[patientIdentificationFields.parentObject]: patientIdentificationFields,
[preparerIdentificationFields.parentObject]: preparerIdentificationFields,
acknowledgeToReleaseInformation: 'acknowledgeToReleaseInformation',
limitedConsent: 'limitedConsent',
privacyAgreementAccepted: 'privacyAgreementAccepted',
};
export const veteranIsSelfText = 'I am the Veteran';
export const alternateSigner =
'Alternate signer (a person certified to file a claim forms for the Veteran or non-Veteran) ';
export const veteranDirectRelative = ['Spouse', 'Child'];
export const relationshipToVeteranEnum = [
veteranIsSelfText,
...veteranDirectRelative,
'Fiduciary',
'Veteran Service Officer',
alternateSigner,
'Third-party',
];