Closed jbalboni closed 5 years ago
We need to write the logic to determine when the type of facility page shows up. That page only shows up if someone is eligible for CC.
This decision would happen after the user chose their type of care. We need to check:
ccId
Additionally, we need to do a similar check when a user is going back from a page right after the type of facility page.
Example CC eligibility data:
eligibilities : { eligibility : [ { vceCode : X, vceDescription : Not Eligible, vceEffectiveDate : 2017-10-08T23:35:12-05:00 } ] }
Linked below is the swagger for this existing service. Could be helpful to determine what an API response would look like from vets-api once it is implemented.
vets-api
https://coderepo.mobilehealth.va.gov/projects/VDMS/repos/mobile-cce-service/browse/src/main/resources/swagger.json?at=Release%2F1.0
We need to write the logic to determine when the type of facility page shows up. That page only shows up if someone is eligible for CC.
This decision would happen after the user chose their type of care. We need to check:
ccId
in the types of care constant)Additionally, we need to do a similar check when a user is going back from a page right after the type of facility page.
Example CC eligibility data: