Skip to content

Commit

Permalink
Update copy for when RoSH info can't be retrieved
Browse files Browse the repository at this point in the history
When RoSH information can't be retrieved, we show guidance to the CPPs
to manually copy the information from Oasys and include it in the
placement consideration risk sections.

However, the guidance for HPTs is for them to manually check outside the
service so they wouldn't know to check that location for the manually
included information.

This change updates the copy in the RoSH section to prompt HPTs to look
in the placement considerations section for this information.
  • Loading branch information
libuk committed Nov 3, 2023
1 parent c82ff4e commit c826644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/form-pages/utils/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ describe('personRisksRoshResponse', () => {

expect(utils.personRisksRoshResponse(risks)).toEqual({
'Risk of serious harm':
'Something went wrong. We are unable to include RoSH information. This risk data must be checked manually outside of this service.',
'We were unable to automatically import RoSH information. Check the "Placement considerations" section to find the OASys risk levels. If the risk levels are not present, they must be checked manually outside of this service.',
})
})
})
Expand Down
2 changes: 1 addition & 1 deletion server/form-pages/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export const personRisksRoshResponse = (risks: PersonRisks): PageResponse => {
}
return {
'Risk of serious harm':
'Something went wrong. We are unable to include RoSH information. This risk data must be checked manually outside of this service.',
'We were unable to automatically import RoSH information. Check the "Placement considerations" section to find the OASys risk levels. If the risk levels are not present, they must be checked manually outside of this service.',
}
}

Expand Down

0 comments on commit c826644

Please sign in to comment.